Configure Alertmanager proxy through https_proxy ENV variable

817 views
Skip to first unread message

Kimo

unread,
Jun 14, 2021, 5:48:31 AM6/14/21
to Prometheus Users
Hello,

I have configured my Alertmanager proxy through http_config.proxy_url and it works this way.

However I had to hard code the proxy_url in the configuration file. Is it possible to tell it somehow to refer to the https_proxy ENV variable that is set to the same value?

Regards,
Kimo

Kimo

unread,
Jun 17, 2021, 11:59:39 AM6/17/21
to Prometheus Users
Some users reported that it works setting the HTTP_PROXY ENV variable like here : https://github.com/prometheus/alertmanager/issues/628

However it doesn't work for me. I am using Alertmanager:v0.21.0. Did env variable subsitution got deprecated? 

Reply all
Reply to author
Forward
0 new messages