Interview Prep/Monitoring & Observability/Alerting and Alertmanager

One incident sends 200 separate Slack messages

IntermediateTroubleshootingAlerting and Alertmanager
Answer

Likely causes → group_by includes high-variety labels (instance, pod) or is missing, so each alert is its own group.

Diagnose → amtool alert query and look at the groups in the Alertmanager UI.

Fix → group_by: [alertname, cluster, namespace] and add inhibition rules (e.g. NodeDown inhibits pod alerts on that node).

Prevent → Design grouping per team route, not at the root only.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager