Interview Prep/Monitoring & Observability/Grafana, Dashboards and Kubernetes Monitoring

You need to show deploy events on every Grafana graph. How?

BeginnerScenarioGrafana, Dashboards and Kubernetes Monitoring
Answer

Situation read → Correlating changes with metrics speeds up root cause analysis.

What I'd do →

  1. Post annotations from the CD pipeline to the Grafana API:
curl -s -X POST https://grafana.example.com/api/annotations \
  -H "Authorization: Bearer $GRAFANA_TOKEN" -H "Content-Type: application/json" \
  -d '{"tags":["deploy","checkout"],"text":"checkout v2.14.0 deployed"}'
  1. Or query a metric such as kube_deployment_status_observed_generation changes or Argo CD sync events as an annotation query.
  2. Enable the annotation on all service dashboards, filtered by tag.

Why → One glance shows if the spike started with a deploy.

Interview tip → Annotate feature flag changes and config changes too, not only deploys.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana, Dashboards and Kubernetes Monitoring