Skip to content

Conversation

@ruudk
Copy link

@ruudk ruudk commented Oct 24, 2025

In no-auth mode, default connections and sources from environment variables were not being created. This was because setupTeamDefaults() was only called during user registration, which doesn't happen in no-auth mode.

Now setupTeamDefaults() is called on server startup when IS_LOCAL_APP_MODE is enabled, ensuring default connections and sources are automatically provisioned.

Related to #865 (original auto-provisioning PR)
Fixes #1295

In no-auth mode, default connections and sources from environment variables
were not being created. This was because setupTeamDefaults() was only called
during user registration, which doesn't happen in no-auth mode.

Now setupTeamDefaults() is called on server startup when IS_LOCAL_APP_MODE
is enabled, ensuring default connections and sources are automatically
provisioned.

Related to hyperdxio#865 (original auto-provisioning PR)
Fixes hyperdxio#1295
@changeset-bot
Copy link

changeset-bot bot commented Oct 24, 2025

🦋 Changeset detected

Latest commit: 5fb9350

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@hyperdx/api Patch
@hyperdx/app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Oct 24, 2025

@ruudk is attempting to deploy a commit to the HyperDX Team on Vercel.

A member of the Team first needs to authorize it.

@ruudk
Copy link
Author

ruudk commented Oct 24, 2025

@MikeShi42 @wrn14897 Curious what you think of this.

ruudk added 2 commits October 25, 2025 10:40
The default metrics source was missing the summary and exponentialHistogram
table configurations in metricTables. This meant users had to manually
configure these fields even in auto-provisioned setups.
Enable auto-provisioning feature for no-auth mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant