Alert resolves in Slack and immediately fires again
IntermediateTroubleshootingAlerting and Alertmanager
Answer
Likely causes → Prometheus misses an evaluation or a scrape (target restarting), the expression briefly becomes false, Alertmanager sends resolved, then the alert fires again.
Diagnose → Graph ALERTS{alertname="X"} and check scrape gaps around the flip.
Fix → Add keep_firing_for: 10m to the rule, widen the rate window, set send_resolved: false for noisy, low-value receivers.
Prevent → Track flap counts per alert.
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