What is a dead man's switch, and how do you wire it end-to-end?
BeginnerProductionAlerting Strategy, SLOs & Runbooks
Answer
An alert that always fires. If the external receiver stops hearing it, the whole pipeline (Prometheus, rule evaluation, Alertmanager, network) is broken.
- alert: Watchdog
expr: vector(1)
labels: { severity: none }
Route it to a heartbeat service (PagerDuty heartbeat/Cronitor/Healthchecks.io, Opsgenie Heartbeat) with repeat_interval: 1m; if no ping arrives within ~5 minutes, that external service pages you. It must live outside your own infrastructure.
More on Alerting Strategy, SLOs & Runbooks
What is the single most important rule for deciding whether an alert should page a human?BeginnerWhat severity levels do you define, and where does each one go?BeginnerWhy do mature teams alert on SLO burn rate instead of raw error rate thresholds?IntermediateIn a multi-window burn-rate alert, what is the short window for?AdvancedHow do you generate SLO alert rules without hand-writing dozens of burn-rate expressions?IntermediateHow do you pick an SLO target for a service that has never had one?Beginner