Unverified Commit 0097bb18 authored by Christian Rohmann's avatar Christian Rohmann Committed by GitHub
Browse files

[Bugfix] Use templated datasource in grafana.json to allow automatic imports (#6136)


Signed-off-by: default avatarChristian Rohmann <christian.rohmann@inovex.de>
parent ea4b5704
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__elements": {},
"__requires": [
......@@ -1215,11 +1207,21 @@
"templating": {
"list": [
{
"type": "datasource",
"name": "DS_PROMETHEUS",
"label": "datasource",
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"hide": 0,
"includeAll": false,
"multi": false,
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false
},
{
"definition": "label_values(model_name)",
"hide": 0,
"includeAll": false,
......@@ -1250,3 +1252,4 @@
"version": 1,
"weekStart": ""
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment