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

Grafana pod logs `database is locked` and dashboards fail to save

IntermediateTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → SQLite on a network or shared volume, or several replicas pointing at the same SQLite file.

Diagnose → Check [database] type in config and the replica count.

Fix → Move to PostgreSQL or MySQL ([database] type = postgres), or scale back to one replica with a local PVC.

Prevent → Use an external DB for any HA or production Grafana.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources