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

Print final configuration on startup #2276

Closed
dashpole opened this issue Dec 10, 2020 · 1 comment
Closed

Print final configuration on startup #2276

dashpole opened this issue Dec 10, 2020 · 1 comment

Comments

@dashpole
Copy link
Contributor

Is your feature request related to a problem? Please describe.
This is related to the problem described in https://github.com/open-telemetry/opentelemetry-collector/issues/2163. The collector does environment variable substitution with the provided configuration. Prometheus receiver configurations often use $ as part of the configuration, which makes it easy to accidentally reference environment variables when you don't intend to.

Additionally, when using deployment systems such as kubernetes, environment variables themselves may be programmatically populated, making the final configuration used to run the collector difficult to determine.

Describe the solution you'd like
The collector should print out the final configuration used on startup after environment variables have been substituted.

Describe alternatives you've considered
Alternatively, we can do nothing.

@dashpole
Copy link
Contributor Author

I realized this is actually a duplicate of #1791

Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this issue Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants