Deploy Prometheus Alertmanager in high-availability gossip cluster mode with mesh peering between replicas

domain: prometheus.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Run each Alertmanager replica with --cluster.listen-address (default 0.0.0.0:9094) set to a reachable address, and optionally --cluster.advertise-address for the address other peers should use to reach it.
  2. Peer the replicas by passing a --cluster.peer=<host:port> flag once per known peer on each instance (repeat the flag for multiple peers); Alertmanager uses this gossip-based mesh (via Hashicorp memberlist) to auto-discover the rest of the cluster from the initial peer set.
  3. Tune cluster behavior as needed with flags like --cluster.peer-timeout (default 15s), --cluster.gossip-interval (default 200ms), --cluster.pushpull-interval (default 1m), and --cluster.settle-timeout for startup convergence.
  4. Optionally set --cluster.label to a unique string to prevent unrelated Alertmanager clusters on the same network from cross-talking via gossip.
  5. Point every Prometheus server's alerting.alertmanagers config at all Alertmanager replica addresses (not a single instance or a load balancer that only hits one), so notifications and gossip state stay consistent even if a replica is down.
  6. Verify clustering via the Alertmanager UI/API status endpoint, which lists cluster peers and their status.

Known gotchas

Related routes

Configure Prometheus Alertmanager routing tree with inhibition rules and receiver grouping to reduce alert noise during incidents
prometheus.io · 5 steps · unrated
Implement multi-window multi-burn-rate alerting for an SLO in Prometheus Alertmanager
prometheus.io · 6 steps · unrated
Implement multi-window multi-burn-rate SLO alerting in Prometheus following the Google SRE Workbook model
prometheus.io · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans