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

What is Alertmanager inhibition and when is it useful?

AdvancedConceptToil, On-Call & Alert Design
Answer

Inhibition suppresses some alerts while another alert is firing. Classic uses: suppress all warnings for a cluster when the whole cluster is unreachable, or suppress per-service alerts when the database they depend on is down.

inhibit_rules:
  - source_matchers: ['alertname="ClusterUnreachable"']
    target_matchers: ['severity=~"warning|page"']
    equal: [cluster]

The equal field ensures you only inhibit alerts in the same cluster.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Toil, On-Call & Alert Design