From 1accc921d99a85de8e876dc3e303c66ceab6efc1 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Tue, 28 Jul 2026 19:28:23 +0100 Subject: [PATCH 1/2] fix(telemetry): declare the DS_PROMETHEUS variable ledger-data-sync references The dashboard's template variables and panel targets select their datasource via ${DS_PROMETHEUS}, but the variable itself was absent from templating.list. An unresolvable datasource variable leaves those queries without a datasource, so the panels render empty. Add the datasource variable as the first templating entry, matching the other dashboards in this folder. Co-Authored-By: Claude Opus 5 (1M context) --- .../grafana/dashboards/ledger-data-sync.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker/telemetry/grafana/dashboards/ledger-data-sync.json b/docker/telemetry/grafana/dashboards/ledger-data-sync.json index c3bf316903..42916eb34a 100644 --- a/docker/telemetry/grafana/dashboards/ledger-data-sync.json +++ b/docker/telemetry/grafana/dashboards/ledger-data-sync.json @@ -1492,6 +1492,19 @@ "tags": ["ledger", "sync"], "templating": { "list": [ + { + "name": "DS_PROMETHEUS", + "type": "datasource", + "label": "Prometheus", + "query": "prometheus", + "regex": "", + "current": {}, + "hide": 0, + "refresh": 1, + "includeAll": false, + "multi": false, + "options": [] + }, { "name": "service_name", "label": "Service Name", From 40566d55df8f2454e34ad0b9e15be36cd7f300a3 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Tue, 28 Jul 2026 19:29:06 +0100 Subject: [PATCH 2/2] fix(telemetry): declare the DS_PROMETHEUS variable job-queue references Three template variables (xrpl_work_item, xrpl_branch, xrpl_node_role) select their datasource via ${DS_PROMETHEUS}, but the variable itself was absent from templating.list, so those label_values() lookups resolved to no datasource and the filters stayed empty. Add the datasource variable as the first templating entry, matching the other dashboards in this folder. Co-Authored-By: Claude Opus 5 (1M context) --- docker/telemetry/grafana/dashboards/job-queue.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker/telemetry/grafana/dashboards/job-queue.json b/docker/telemetry/grafana/dashboards/job-queue.json index 2ffbf8e0b1..fa84c49770 100644 --- a/docker/telemetry/grafana/dashboards/job-queue.json +++ b/docker/telemetry/grafana/dashboards/job-queue.json @@ -459,6 +459,19 @@ "tags": ["node", "jobqueue"], "templating": { "list": [ + { + "name": "DS_PROMETHEUS", + "type": "datasource", + "label": "Prometheus", + "query": "prometheus", + "regex": "", + "current": {}, + "hide": 0, + "refresh": 1, + "includeAll": false, + "multi": false, + "options": [] + }, { "name": "service_name", "label": "Service Name",