Interview Prep/SRE & Reliability/Toil, On-Call & Alert Design

What is the difference between a "heartbeat" or "dead man's switch" alert and normal alerts?

IntermediateConceptToil, On-Call & Alert Design
Answer

A dead man's switch is an alert that always fires; the receiver (PagerDuty, Healthchecks.io, Opsgenie heartbeat) raises an alarm when it stops arriving. It proves the whole alerting pipeline (Prometheus, rule evaluation, Alertmanager, network to the paging service) works. kube-prometheus-stack ships one called Watchdog:

- alert: Watchdog
  expr: vector(1)
  labels:
    severity: none

Without it, a crashed Alertmanager looks exactly like a quiet night.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Toil, On-Call & Alert Design