One node dies and 40 alerts fire at once. How do you cut the noise structurally?
IntermediateScenarioAlerting and On-Call Design
Answer
Situation read → A single root cause is producing many dependent alerts (NodeDown, PodNotReady, TargetDown, HighLatency).
What I'd do →
- Group by what matters so one notification carries many alerts:
group_by: [cluster, alertname]. - Add inhibition so the root cause suppresses its symptoms.
inhibit_rules:
- source_matchers: [alertname="NodeDown"]
target_matchers: [severity=~"warning|info"]
equal: [node]
- source_matchers: [severity="critical"]
target_matchers: [severity="warning"]
equal: [alertname, cluster, service]
- Tune
group_wait(30s) andgroup_interval(5m) so correlated alerts land in one message.
Why → On-call needs the root cause on top, not 40 equal-looking messages.
Interview tip → equal must reference labels present on both source and target alerts.
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