-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Proxy from environment not working #190
Comments
As a general Prometheus principle, we don't technically support configuration from anything other than the config file. I will accept a PR to fix that over in common though. |
Actually the current behaviour matches Prometheus, so it'd be best to keep in sync. |
Well I'll happily submit a pull request, if there is a reasonable chance of getting it implemented. Just tested it successfully with directly modifying the vendored dependencies, but it's just copy, paste and a pull request to submit it to common:
Imho there are some more complex setups where the option of setting the values as environment variables may be beneficial, especially because of the presence/evaluation of |
We're keeping in sync with Prometheus, so the place to try to get this changed this is in Prometheus. In general though, the config file is how you're meant to specify things. |
#92 added support for using proxy variables (
HTTP_PROXY
,HTTPS_PROXY
&NO_PROXY
) from the environment.#173 removed this feature
This is not documented in the 0.6.0 release notes, so I assume it is a bug?
The text was updated successfully, but these errors were encountered: