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 →
- 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"}'
- Or query a metric such as
kube_deployment_status_observed_generationchanges or Argo CD sync events as an annotation query. - 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.
More on Grafana, Dashboards and Kubernetes Monitoring
Grafana has 900 dashboards and nobody can find anything. How do you clean it up?IntermediateHow do you manage Grafana dashboards as code?IntermediateDesign a service overview dashboard that an on-call engineer can read in 10 seconds.BeginnerPods are being OOMKilled but the memory graph never reaches the limit. Why?IntermediateHow do you detect CPU throttling hurting latency in Kubernetes?IntermediateYou inherit a cluster with no monitoring. What do you install first?Beginner