feat: add variable for datasource in grafana dashboards (#21470)

This commit is contained in:
Johannes Horn
2025-08-04 03:46:49 +02:00
committed by GitHub
parent 71f293d9ab
commit d002beaee3
8 changed files with 78 additions and 65 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View File

@@ -15,16 +15,6 @@
}
]
},
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"description": "MinIO Nodes Grafana Dashboard - https://min.io/",
"editable": true,
"fiscalYearStartMonth": 0,
@@ -869,7 +859,20 @@
"list": [
{
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"label": "Data source",
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
@@ -891,8 +894,7 @@
"type": "query"
},
{
"current": {
},
"current": {},
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
@@ -950,4 +952,4 @@
"uid": "TgmJnnqn2k",
"version": 1,
"weekStart": ""
}
}