diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-04 10:01:11 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-04 10:01:11 -0700 |
commit | 4454b8d37cb8ae4fcad9f3f15f82197daa18a772 (patch) | |
tree | 97bc985bad78c1adc977e1229b46af19eb22b6e0 | |
parent | grafana: add dashboard for traefik (diff) | |
download | world-4454b8d37cb8ae4fcad9f3f15f82197daa18a772.tar.gz |
grafana: try to configure the data source
Diffstat (limited to '')
-rw-r--r-- | hosts/common/server/dashboards/traefik_rev5.json | 37 |
1 files changed, 28 insertions, 9 deletions
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": "" } ], @@ -692,6 +692,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": {}, "datasource": "${DS_PROMETHEUS}", |