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

Graph shows a flat line at the last value after the service died

IntermediateTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → Grafana "Connect null values" set to Always, or the query uses last_over_time/max_over_time with a long window that hides gaps.

Diagnose → Check panel settings and the raw query output.

Fix → Set Connect null values to Never or a threshold, and use short windows.

Prevent → Pair key graphs with up panels.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources