From 4454b8d37cb8ae4fcad9f3f15f82197daa18a772 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 4 Apr 2022 10:01:11 -0700 Subject: grafana: try to configure the data source --- hosts/common/server/dashboards/traefik_rev5.json | 37 ++++++++++++++++++------ 1 file changed, 28 insertions(+), 9 deletions(-) (limited to 'hosts/common/server/dashboards') diff --git a/hosts/common/server/dashboards/traefik_rev5.json b/hosts/common/server/dashboards/traefik_rev5.json index 10b8fcc..5a50211 100644 --- a/hosts/common/server/dashboards/traefik_rev5.json +++ b/hosts/common/server/dashboards/traefik_rev5.json @@ -1,43 +1,43 @@ { "__inputs": [ { - "name": "DS_PROMETHEUS", - "label": "Prometheus", "description": "", - "type": "datasource", + "label": "Prometheus", + "name": "DS_PROMETHEUS", "pluginId": "prometheus", - "pluginName": "Prometheus" + "pluginName": "Prometheus", + "type": "datasource" } ], "__requires": [ { - "type": "grafana", "id": "grafana", "name": "Grafana", + "type": "grafana", "version": "7.5.5" }, { - "type": "panel", "id": "graph", "name": "Graph", + "type": "panel", "version": "" }, { - "type": "panel", "id": "piechart", "name": "Pie chart v2", + "type": "panel", "version": "" }, { - "type": "datasource", "id": "prometheus", "name": "Prometheus", + "type": "datasource", "version": "1.0.0" }, { - "type": "panel", "id": "singlestat", "name": "Singlestat", + "type": "panel", "version": "" } ], @@ -691,6 +691,25 @@ ], "templating": { "list": [ + { + "current": { + "selected": false, + "text": "default", + "value": "default" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": "datasource", + "multi": false, + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, { "allValue": null, "current": {}, -- cgit 1.4.1