-
Notifications
You must be signed in to change notification settings - Fork 340
fix: handle the case when CUSTOM_OTELCOL_CONFIG_FILE is not specified
#1080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle the case when CUSTOM_OTELCOL_CONFIG_FILE is not specified
#1080
Conversation
🦋 Changeset detectedLatest commit: ebe15cf The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Stably Runner - Test Suite - 'Smoke Test'Test Suite Run Result: 🟢 Success (4/4 tests passed) [dashboard] This comment was generated from stably-runner-action |
74ef16f to
9bb0565
Compare
|
|
||
| if (apiKeys && apiKeys.length > 0) { | ||
| // Build full configuration with all team API keys | ||
| const otelCollectorConfig: CollectorConfig = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved this config out of if block and removed all 'receivers' from the pipeline so that the collector can start even if the apiKeys is empty
| // TODO: prometheus needs to be authenticated | ||
| receivers: ['prometheus'], | ||
| processors: ['memory_limiter', 'batch'], | ||
| exporters: ['clickhouse'], | ||
| }, | ||
| 'logs/in': { | ||
| // TODO: fluentforward needs to be authenticated | ||
| receivers: ['fluentforward'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep the 'prometheus' and 'fluentforward' unauthed (default behavior). need to fix it in later PRs
…onfig-file-env-not-specified
plus fixing startup issue when the team isn't created yet
HDX-2238