Interview Prep/Monitoring & Observability/Alerting and On-Call Design

Your Alertmanager is a single pod. How do you make it highly available without duplicate notifications?

AdvancedScenarioAlerting and On-Call Design
Answer

Situation read → One Alertmanager is a single point of failure for the entire alert path.

What I'd do →

  1. Run 3 Alertmanager replicas in a gossip cluster (--cluster.peer=alertmanager-0:9094, etc.). On Kubernetes, a StatefulSet with a headless service, or the Prometheus Operator replicas: 3.
  2. Configure every Prometheus to send alerts to all Alertmanagers, not through a load balancer.
  3. The cluster deduplicates using gossip of notification log entries, so each notification is sent once.
  4. Persist /alertmanager data so silences survive restarts.
  5. Monitor alertmanager_cluster_members and alertmanager_notifications_failed_total.

Why → Alertmanager prefers availability: during a partition you may get duplicates, but never lost alerts.

Interview tip → A common mistake is putting a load balancer in front, which breaks the deduplication model.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and On-Call Design