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.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alertmanager & Alerting