mirror of
https://github.com/minio/minio.git
synced 2025-01-11 23:13:23 -05:00
Pre populate the server names using a query (#19367)
User doesn't need to remember and enter the server values, rather they can select from the pre populated list. Signed-off-by: Shubhendu Ram Tripathi <shubhendu@minio.io>
This commit is contained in:
parent
8222a640ac
commit
d63e603040
Binary file not shown.
Before Width: | Height: | Size: 172 KiB After Width: | Height: | Size: 152 KiB |
@ -917,23 +917,28 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"current": {
|
"current": {
|
||||||
"selected": false,
|
|
||||||
"text": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000",
|
|
||||||
"value": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000"
|
|
||||||
},
|
},
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "${DS_PROMETHEUS}"
|
||||||
|
},
|
||||||
|
"definition": "label_values(minio_node_drive_total,server)",
|
||||||
"hide": 0,
|
"hide": 0,
|
||||||
|
"includeAll": false,
|
||||||
"label": "Server",
|
"label": "Server",
|
||||||
|
"multi": false,
|
||||||
"name": "server",
|
"name": "server",
|
||||||
"options": [
|
"options": [],
|
||||||
{
|
"query": {
|
||||||
"selected": true,
|
"qryType": 1,
|
||||||
"text": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000",
|
"query": "label_values(minio_node_drive_total,server)",
|
||||||
"value": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000"
|
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
||||||
}
|
},
|
||||||
],
|
"refresh": 1,
|
||||||
"query": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000",
|
"regex": "",
|
||||||
"skipUrlSync": false,
|
"skipUrlSync": false,
|
||||||
"type": "textbox"
|
"sort": 0,
|
||||||
|
"type": "query"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user