Interview Prep/Monitoring & Observability/Alerting and Alertmanager

`Watchdog` alert stopped arriving at the dead man's switch

AdvancedTroubleshootingAlerting and Alertmanager
Answer

Likely causes → The whole pipeline is broken somewhere: Prometheus down, rule not loaded, Alertmanager can't send, or the Watchdog route was swallowed by a null receiver.

Diagnose →

amtool config routes test --config.file=alertmanager.yml alertname=Watchdog
curl -s localhost:9090/api/v1/rules | jq '.data.groups[].rules[] | select(.name=="Watchdog")'

Fix → Fix whichever stage failed; route Watchdog first with continue: false to the heartbeat receiver (healthchecks.io, PagerDuty heartbeat, Opsgenie heartbeat).

Prevent → Exactly this alert is the prevention; make sure its receiver pages when heartbeats stop.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager