What is inhibition? Give an example.
IntermediateConceptAlertmanager & Alerting
Answer
Inhibition mutes target alerts while a source alert is firing and the equal labels match.
inhibit_rules:
- source_matchers: [alertname="ClusterUnreachable"]
target_matchers: [severity=~"warning|page"]
equal: [cluster]
- source_matchers: [severity="critical"]
target_matchers: [severity="warning"]
equal: [alertname, namespace]
When a whole cluster is down, the 50 per-service alerts in that cluster are suppressed and only the root cause pages.
More on Alertmanager & Alerting
What does Alertmanager do that Prometheus does not?BeginnerExplain the Alertmanager routing tree.IntermediateWhat do `group_by`, `group_wait`, `group_interval` and `repeat_interval` control?IntermediateWhat are silences and how do you create them?BeginnerWhat are mute time intervals and active time intervals?IntermediateHow does Alertmanager clustering work?Advanced