How do you know if Prometheus or Alertmanager itself has silently died?
IntermediateScenarioAlerting and On-Call Design
Answer
Situation read → If the alerting pipeline fails, no alerts fire, and silence looks like health. You need an external heartbeat.
What I'd do →
- Add an always-firing Watchdog alert:
expr: vector(1). - Route it to a dead man's switch service (healthchecks.io, PagerDuty heartbeat, Opsgenie heartbeat, or a Grafana Cloud/Alertmanager heartbeat) with
repeat_interval: 1m. - If the heartbeats stop, that external service pages you.
- Also run a second, independent Prometheus that scrapes the first and alerts on
up{job="prometheus"} == 0.
Why → The only reliable way to detect a dead alerter is something outside it that expects a regular signal.
Interview tip → The kube-prometheus-stack ships a Watchdog alert for exactly this purpose.
More on Alerting and On-Call Design
Your on-call engineers receive 300 alerts a night and have started ignoring the pager. How do you fix it?IntermediateYou are asked to design alerting for a brand-new HTTP service from scratch. What do you alert on?BeginnerA "CPU above 90%" alert wakes someone at 3 a.m., but users saw no impact. What do you change?BeginnerA new hire asks: "Should we page on symptoms or causes?" How do you answer with an example?BeginnerDesign burn-rate alerts for a 99.9% availability SLO over 30 days.AdvancedPayments and platform teams share one Prometheus and one Alertmanager. How do you route alerts to the right team and severity?Intermediate