Grafana Dashboard No Data — Data Source Connection and Query Errors
Warningsystem
Overview
Fix Grafana dashboards showing 'No data' when panels cannot retrieve metrics from data sources like Prometheus, InfluxDB, or Elasticsearch.
Key Details
- Grafana visualizes data from configured data sources using dashboard panels with queries
- No data can mean: data source unreachable, query returns empty results, or time range has no data
- Each panel has its own query that can be inspected and debugged independently
- Common data sources: Prometheus, InfluxDB, Elasticsearch, MySQL, PostgreSQL, CloudWatch
- The time range selector affects all panels — data may exist outside the selected range
Common Causes
- Data source connection failed — Grafana cannot reach Prometheus, InfluxDB, or other backend
- PromQL, InfluxQL, or other query syntax error returning empty results
- Time range selector set to a period where no data exists
- Metric name changed or label values differ from what the dashboard query expects
Steps
- 1Test data source connection: Configuration > Data Sources > select source > click 'Test' button
- 2Inspect panel query: click panel title > Edit > check the query and preview results
- 3Expand time range: set to 'Last 24 hours' or 'Last 7 days' to see if data exists in a broader window
- 4Check metric names: open Prometheus/InfluxDB directly and verify the metric exists with expected labels
- 5Use the Query Inspector: panel Edit > Query Inspector to see the raw query and response
Tags
grafanadashboardno-datadata-sourcevisualization
Related Items
More in System
windows-C000021A-status-system-process-terminatedWindows Error 0xC000021A — STATUS SYSTEM PROCESS TERMINATED
Criticalwindows-C0000225-boot-configuration-errorWindows Error 0xC0000225 — Boot Configuration Error
Criticalwindows-C000000F-boot-selection-failedWindows Error 0xC000000F — Boot Selection Failed
Criticalwindows-80004005-unspecified-errorWindows Error 0x80004005 — Unspecified Error
Warningwindows-80070570-file-or-directory-corruptedWindows Error 0x80070570 — File or Directory Corrupted
Errorwindows-system-0xc0000185Windows Error 0xC0000185 — Boot Device Inaccessible
CriticalFrequently Asked Questions
In Grafana's Explore mode, select the data source and use the metric browser to search for available metrics. For Prometheus, browse to /api/v1/label/__name__/values for a complete list of metric names.