Interview Prep/Monitoring & Observability/Alerting and Alertmanager

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.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alerting and Alertmanager