Alertmanager Config File For Cluster HA

49 views
Skip to first unread message

Matthew Ellquist

unread,
Apr 1, 2024, 3:36:25 AM4/1/24
to Prometheus Users
Greetings,

Is it possible to specify the listen and advertise addresses in the alertmanager.yml file?

Thanks,
Matt

Ben Kochie

unread,
Apr 1, 2024, 3:43:03 AM4/1/24
to Matthew Ellquist, Prometheus Users
No, the Prometheus design is that anything in the config file needs to be dynamic / runtime (SIGHUP) changeable. Things that are only possible to set at startup are handled by flags. This allows for easy differentiation between static and dynamic options.

The listen addresses are currently only set at startup time, so they are only controlled by args.

This is something that could be done via the exporter-toolkit, but someone would have to volunteer to write the code.

--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/3b912234-bd7f-4fc3-a023-f979c1565b89n%40googlegroups.com.

Matthew Ellquist

unread,
Apr 1, 2024, 1:22:48 PM4/1/24
to Ben Kochie, Prometheus Users
Ben,

I appreciate the quick and detailed response!

Thanks,

Matt Ellquist
Systems Administrator | Information Technology Systems & Services | itss.d.umn.edu
University of Minnesota Duluth | d.umn.edu

Reply all
Reply to author
Forward
0 new messages