Interview Prep/Monitoring & Observability/Grafana dashboards and data sources

Provisioned dashboards revert after users edit them

BeginnerTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → File-provisioned dashboards are overwritten from disk on each updateIntervalSeconds; UI changes are not persisted to the file.

Diagnose → Dashboard shows "Cannot save provisioned dashboard".

Fix → Edit the JSON in Git, or set allowUiUpdates: true in the provider (changes still lost on restart unless exported).

Prevent → Treat dashboards as code (Grafonnet, Terraform grafana_dashboard, or Git sync) with a clear workflow.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources