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

Rename OPENTELEMETRY_COLLECTOR_CONFIG_FILE to OPENTELEMETRY_COLLECTOR_CONFIG_URI #1521

Merged
merged 9 commits into from
Sep 14, 2024

Conversation

gshpychka
Copy link
Contributor

@gshpychka gshpychka commented Sep 12, 2024

As noted in #645, the name of the environment variable to set the collector config URI is confusing, since it does not only accept a file.

This PR renames it to OPENTELEMETRY_COLLECTOR_CONFIG_URI to better reflect what it means, while keeping the old name for backwards compatibility, with the new name taking precedence.

Fixes #645.

@gshpychka gshpychka requested a review from a team September 12, 2024 05:53
@gshpychka
Copy link
Contributor Author

Do you squash on merge, or should I do that in the branch?

@tylerbenson
Copy link
Member

We squash, so you're fine.

@tylerbenson tylerbenson merged commit f641b6b into open-telemetry:main Sep 14, 2024
14 checks passed
@gshpychka gshpychka deleted the patch-1 branch September 15, 2024 05:42
@tylerbenson tylerbenson added the go Pull requests that update Go code label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename OPENTELEMETRY_COLLECTOR_CONFIG_FILE to appropriate usage
3 participants