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

Support for escaping env var substitution #1112

Closed
nilebox opened this issue Jun 12, 2020 · 0 comments · Fixed by #1113
Closed

Support for escaping env var substitution #1112

nilebox opened this issue Jun 12, 2020 · 0 comments · Fixed by #1113
Labels
enhancement New feature or request

Comments

@nilebox
Copy link
Member

nilebox commented Jun 12, 2020

Is your feature request related to a problem? Please describe.
Sometimes we need to pass the $ symbol in the config to the underlying component without env var substitution. As an example, see issue with Prometheus receiver #1077.

Currently the only workaround is to define an environment variable containing $ symbol, which is pretty hacky.

Describe the solution you'd like
Support a mechanism for escaping $ character in the config, preventing collector from env var substitution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants