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.
More on Alerting and Alertmanager
An alert shows `Pending` in Prometheus but never goes to `Firing`BeginnerAn alert is `Firing` in Prometheus but nothing reaches AlertmanagerIntermediateAlertmanager shows the alert but Slack receives nothingBeginnerAlertmanager logs `notify retry canceled due to unrecoverable error after 1 attempts: channel_not_found`IntermediateAlertmanager logs `unexpected status code 404: no_service` / `invalid_token` for SlackBeginnerAlertmanager fails to load config: `yaml: unmarshal errors: field matchers not found in type config.plain`Intermediate