[Doc] Add Datasource variable to dashboard, and user can choose different datasources (#42739)

Signed-off-by: yandongxiao <dxyan06@gmail.com>
This commit is contained in:
yandongxiao 2024-03-18 15:48:17 +08:00 committed by GitHub
parent 762ca68b6a
commit f0cf2f84b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 10 deletions

View File

@ -1,14 +1,4 @@
{ {
"__inputs": [
{
"name": "StarRocks_Prometheus",
"label": "StarRocks",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [ "__requires": [
{ {
"type": "grafana", "type": "grafana",
@ -8297,6 +8287,21 @@
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [
{
"description": "",
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "StarRocks_Prometheus",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{ {
"current": { "current": {
"selected": false, "selected": false,