After a Helm upgrade of kube-prometheus-stack, all SLO dashboards created in the Grafana UI are gone.
IntermediateTroubleshootingGrafana SLO Dashboards
Answer
Likely causes → Grafana ran without persistence; UI-created dashboards were stored in SQLite inside an ephemeral pod, lost when the pod was recreated.
Diagnose →
helm get values monitoring -n monitoring | grep -A3 persistence
Fix → Recreate from any exported JSON, then provision dashboards as code via ConfigMaps (sidecar) or the Grafana Terraform provider. Enable persistence or an external database for Grafana state.
Prevent → Dashboards as code in Git; the UI is for exploration, not the source of truth.
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