Interview Prep/SRE & Reliability/Grafana SLO Dashboards

Your SLO dashboard ConfigMap is applied, but the dashboard never shows up in Grafana.

BeginnerTroubleshootingGrafana SLO Dashboards
Answer

Likely causes → The ConfigMap is missing the label the Grafana sidecar watches (grafana_dashboard: "1" by default in kube-prometheus-stack), it is in a namespace the sidecar does not search, or the JSON is invalid.

Diagnose →

kubectl get cm -A -l grafana_dashboard=1
kubectl logs -n monitoring deploy/monitoring-grafana -c grafana-sc-dashboard | tail -20

Fix → Add the label, put the ConfigMap in the monitoring namespace (or set grafana.sidecar.dashboards.searchNamespace: ALL), and validate the JSON with jq . dashboard.json.

Prevent → Provision dashboards from Git with a CI JSON lint step.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Grafana SLO Dashboards