Skip to content
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 env variable parsing #1728

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix env variable parsing #1728

wants to merge 1 commit into from

Conversation

gmrukwa
Copy link

@gmrukwa gmrukwa commented Jan 27, 2025

The installation token wouldn't be picked up from env variable according to OpenTelemetry Collector config parser.

The installation token wouldn't be picked up from env variable according to OpenTelemetry Collector config parser.
@gmrukwa gmrukwa requested review from a team as code owners January 27, 2025 13:42
@amdprophet
Copy link
Contributor

@gmrukwa Both are supported (See: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md). Are you running into an issue?

@gmrukwa
Copy link
Author

gmrukwa commented Mar 25, 2025

@gmrukwa Both are supported (See: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md). Are you running into an issue?

Yes, the braces syntax didn't work for me. The value of the env variable wasn't picked up by the collector. I needed to switch to the env provider syntax. And it wasn't an issue with env variable name, as the name was fairly simple: SUMOLOGIC_INSTALLATION_TOKEN.

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.

2 participants