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

Dashboard variable dropdown is empty

BeginnerTroubleshootingGrafana dashboards and data sources
Answer

Likely causes → The variable query returns nothing for the selected time range or references a parent variable that is empty; regex filter excludes everything.

Diagnose → Dashboard settings → Variables → Run query / preview of values.

Fix → Use label_values(kube_pod_info{namespace="$namespace"}, pod), set refresh to "On time range change", and test the regex.

Prevent → Order variables so parents load before children.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Grafana dashboards and data sources