For me it is easier to setup alert manager as a systemd service then add a
drop-in directory to force proxy only on it with the file :
/usr/lib/systemd/system/alertmanager.service.d/proxy.conf that contains
[Service] Environment="HTTP_PROXY=http://proxy.example.com:80/";
"NO_PROXY=localhost,127.0.0.1,<Prometheus IP>"

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CALnV8Wgk-Ee6b5tus9t26GzhNhjUzmc0%3DEWX3f4NWfsEO5DWxw%40mail.gmail.com.

Reply via email to