Deploy annotations stopped appearing on the SLO dashboard after the CI system was migrated.
BeginnerTroubleshootingGrafana SLO Dashboards
Answer
Likely causes → The new pipeline no longer posts to Grafana's annotation API, the service account token expired, or the dashboard's annotation query filters on a tag the new pipeline does not set.
Diagnose →
curl -s -H "Authorization: Bearer $GRAFANA_TOKEN" "$GRAFANA_URL/api/annotations?tags=deploy&limit=5" | jq .
Fix → Add a pipeline step:
curl -s -X POST -H "Authorization: Bearer $GRAFANA_TOKEN" -H "Content-Type: application/json" \
"$GRAFANA_URL/api/annotations" \
-d '{"tags":["deploy","checkout"],"text":"checkout 2.14.0 deployed"}'
Prevent → Treat deploy annotations as part of the deployment contract and test them in the pipeline.
More on Grafana SLO Dashboards
Your SLO dashboard ConfigMap is applied, but the dashboard never shows up in Grafana.BeginnerAn imported SLO dashboard shows `Datasource ${DS_PROMETHEUS} was not found` on every panel.BeginnerThe "error budget remaining" stat changes when you change the dashboard time picker from 7 days to 30 days.IntermediateYou just created the SLO recording rules and the 30-day budget panel shows only a few hours of data.IntermediateThe budget remaining panel shows `9,850%` instead of `98.5%`.BeginnerSLO panels time out with `504 Gateway Timeout` when viewing 30 days.Intermediate