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.

الانتقال إلى التثبيت

معلومات المصدر

المستودع
cajias/claude-skills
آخر نشاط في المصدر
٢٠ يوليو ٢٠٢٦ في ٠٧:٢٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٠
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.