Interview Prep/Monitoring & Observability/Grafana dashboards and data sources

Grafana annotations from Prometheus alerts don't appear

BeginnerTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → The annotation query uses the wrong metric or is disabled.

Diagnose → Dashboard settings → Annotations; run ALERTS{alertstate="firing"} in Explore.

Fix → Add an annotation with data source Prometheus and query ALERTS{alertstate="firing", service="$service"}, with "Series value as timestamp" off.

Prevent → Add deploy annotations too, so changes and alerts line up.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources