How does Alertmanager clustering work?

AdvancedConceptAlertmanager & Alerting
Answer

Multiple Alertmanager instances form a cluster using a gossip protocol (memberlist, port 9094) to share notification log and silences. Prometheus sends every alert to all instances (not via a load balancer). Each instance waits a position-based delay (--cluster.peer-timeout, 15s per peer index) and checks the shared notification log before sending, so only one notifies.

alertmanager --cluster.peer=am-0:9094 --cluster.peer=am-1:9094 --cluster.peer=am-2:9094

Behind a load balancer, dedup breaks and silences may not apply.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alertmanager & Alerting