Skip to main content

grafana-dashboard-datasource-uid-mismatch

Fix for Grafana dashboard panels silently showing "No data" even though Prometheus (or any other datasource) has the data and the same query works in Prometheus's own UI. Use when: (1) a freshly-imported or provisioned Grafana dashboard shows "No data" on every panel; (2) the metric exists in Prometheus's `/api/v1/query` response but doesn't render in any Grafana panel; (3) you set up Grafana via Docker provisioning (`provisioning/datasources/*.yml` + `provisioning/dashboards/*.json`) and the dashboard doesn't bind to the datasource; (4) bringing up a stack on a fresh `grafana_data` volume causes the dashboard to break even though it worked before; (5) Grafana logs show `level=error msg="Failed to provision data sources" error="Datasource provisioning error: data source not found"` after adding `uid:` to a datasource YAML and restarting. Root cause is a datasource UID mismatch between the dashboard JSON's hardcoded `"uid": "prometheus"` and the auto-generated UID Grafana gives an unpinned datasource.

Jump to install

Source facts

Repository
cajias/claude-skills
Last source activity
July 20, 2026 at 07:29
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.