How does Alertmanager grouping, inhibition, and silencing work? [Intermediate]
Answer
Grouping bundles related alerts into fewer notifications, inhibition suppresses alerts when another higher-level alert is firing, and silencing temporarily mutes matching alerts for planned work or known issues.
Technical explanation
Grouping is configured with group_by, group_wait, group_interval, and repeat_interval.
Inhibition is rule-based, often suppressing instance or pod alerts when a cluster or service alert is already active.
Silences should be time-bound, labeled, and include a reason so they do not hide real incidents indefinitely.
Hands-on example
Example: during node maintenance, create a silence matching instance='node-17' for two hours. Separately, configure inhibition so PodDown warnings are suppressed when KubernetesNodeNotReady is firing for the same node.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Observability interview questions
- What is an alerting rule, and how does it differ from a recording rule? [Basic]
- How does Prometheus handle high cardinality, and why is it a problem? [Intermediate]
- What is a recording rule, and when would you use one? [Basic]
- How does Prometheus storage (TSDB) work, and what is the retention model? [Intermediate]
- How do you compute a 95th percentile latency from a histogram in PromQL (histogram_quantile)? [Basic]
- What is the difference between rate() and irate()? [Basic]
- What is the difference between Thanos and Cortex/Mimir at a high level? [Intermediate]
- What is PromQL, and what is an instant vector versus a range vector? [Basic]