feat: Add datasource as variable (#4584)

This commit is contained in:
Alby Hernández 2023-06-16 18:46:02 +01:00 committed by GitHub
parent 8f99e1defe
commit 75f7893c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 4 deletions

View file

@ -2452,7 +2452,27 @@
"style": "dark",
"tags": [],
"templating": {
"list": []
"list": [
{
"current": {
"selected": true,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-3h",

View file

@ -1895,7 +1895,27 @@
"style": "dark",
"tags": [],
"templating": {
"list": []
"list": [
{
"current": {
"selected": true,
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-5m",

View file

@ -2179,8 +2179,8 @@
{
"current": {
"selected": true,
"text": "clickhouse-prom",
"value": "clickhouse-prom"
"text": "default",
"value": "default"
},
"hide": 0,
"includeAll": false,