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

Grafana memory spikes and the pod is OOMKilled when a big dashboard opens

AdvancedTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → Server-side expressions or transformations over huge result sets, image rendering, or many concurrent panel queries.

Diagnose → grafana_ process metrics, logs around the time, and Query inspector sizes per panel.

Fix → Reduce series per panel, move transformations into PromQL, raise memory limits, run the image renderer as a separate service.

Prevent → Split mega-dashboards into overview + drill-down.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources