How do Prometheus and Alertmanager communicate about alert resolution?

AdvancedConceptAlertmanager & Alerting
Answer

Prometheus resends firing alerts every evaluation (at least every --rules.alert.resend-delay, default 1m) with an endsAt set a few intervals in the future (4 x resend delay or evaluation interval). When the alert resolves, Prometheus sends it once more with endsAt = now.

If Prometheus dies, Alertmanager stops receiving updates and auto-resolves alerts once endsAt passes. That is why a dead Prometheus can cause "resolved" notifications, and why you need the Watchdog alert.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Alertmanager & Alerting