Your Alertmanager sends 30 separate Slack messages when one database goes down, one per dependent service.
IntermediateScenarioAlerting & On-Call
Answer
Situation read → The real cause triggers a cascade of symptom alerts. Grouping and inhibition can collapse them.
What I'd do →
- Add an inhibition rule: when
DatabaseDownfires for a cluster, inhibit dependent service alerts with the sameclusterordblabel.inhibit_rules: - source_matchers: ['alertname="PostgresDown"'] target_matchers: ['severity=~"page|ticket"', 'depends_on="orders-db"'] equal: [cluster] - Add a
depends_onlabel to service alerts. - Group notifications by
clusterandalertnamewith a reasonablegroup_wait(30s). - Still keep user-facing SLO alerts visible to the incident channel; inhibit only the duplicates.
Why → On-call should see the cause first, not hunt for it among 30 notifications.
Interview tip → Know the three tools: grouping, inhibition, silencing.
More on Alerting & On-Call
On-call got 140 pages last week, most auto-resolved within 5 minutes. What's your plan?BeginnerA critical outage went unnoticed for 40 minutes until customers called support, yet you have 300 alert rules.IntermediateYour team is asked to join the on-call rotation for a service built by another team who won't share it.IntermediateAn engineer silenced a noisy alert for 30 days and an incident it would have caught happened during the silence.IntermediateHow would you design alerting for a new microservice from scratch?IntermediateThe secondary on-call is never paged, and when the primary missed a page last month, nobody responded for 50 minutes.Beginner