Set stable default variable selections for key dashboards

This commit is contained in:
gbanyan
2026-02-15 11:53:57 +08:00
parent 8ef073025a
commit b46d5d5233
4 changed files with 93 additions and 17 deletions

View File

@@ -5917,7 +5917,11 @@
"type": "datasource"
},
{
"current": {},
"current": {
"selected": true,
"text": "TrueNas",
"value": "TrueNas"
},
"datasource": {
"type": "prometheus",
"uid": "ff1qkncht70n4c"
@@ -5936,7 +5940,11 @@
"type": "query"
},
{
"current": {},
"current": {
"selected": true,
"text": "192.168.20.5:9108",
"value": "192.168.20.5:9108"
},
"datasource": {
"type": "prometheus",
"uid": "ff1qkncht70n4c"
@@ -5956,7 +5964,15 @@
},
{
"allValue": ".*",
"current": {},
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "ff1qkncht70n4c"
@@ -5977,7 +5993,15 @@
},
{
"allValue": ".*",
"current": {},
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "ff1qkncht70n4c"
@@ -5998,7 +6022,15 @@
},
{
"allValue": ".*",
"current": {},
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "ff1qkncht70n4c"
@@ -6019,7 +6051,15 @@
},
{
"allValue": ".*",
"current": {},
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"definition": "label_values(services_cpu{instance=\"$instance\"},service)",
"includeAll": true,
"multi": true,