Interview Prep/Monitoring & Observability/Alerting and Alertmanager

Alert storm: Alertmanager memory climbs and the UI becomes unresponsive

AdvancedTroubleshootingAlerting and Alertmanager
Answer

Likely causes → A rule produces tens of thousands of alert instances (e.g. per-pod or per-path labels), each a separate alert.

Diagnose →

alertmanager_alerts
count by (alertname) (ALERTS{alertstate="firing"})

Fix → Aggregate the rule (sum by (service)), silence the offender, and restart if needed.

Prevent → Set a rule limit: on the group (Prometheus 2.31+) so a rule producing too many alerts fails instead of flooding.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager