"docs/vscode:/vscode.git/clone" did not exist on "bc1d02ac85d834c98ec2794f1122b269f4c3e45b"
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": [ "__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
], ],
"__elements": {}, "__elements": {},
"__requires": [ "__requires": [
...@@ -1215,11 +1207,21 @@ ...@@ -1215,11 +1207,21 @@
"templating": { "templating": {
"list": [ "list": [
{ {
"type": "datasource",
"name": "DS_PROMETHEUS",
"label": "datasource",
"current": {}, "current": {},
"datasource": { "hide": 0,
"type": "prometheus", "includeAll": false,
"uid": "${DS_PROMETHEUS}" "multi": false,
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false
}, },
{
"definition": "label_values(model_name)", "definition": "label_values(model_name)",
"hide": 0, "hide": 0,
"includeAll": false, "includeAll": false,
...@@ -1250,3 +1252,4 @@ ...@@ -1250,3 +1252,4 @@
"version": 1, "version": 1,
"weekStart": "" "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