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.

Zur Installation springen

Quellinformationen

Repository
cajias/claude-skills
Letzte Quellaktivität
20. Juli 2026 um 07:29
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.