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": {
|
||||
"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,
|
||||
"includeAll": false,
|
||||
"label": "Server",
|
||||
"multi": false,
|
||||
"name": "server",
|
||||
"options": [
|
||||
{
|
||||
"selected": true,
|
||||
"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"
|
||||
}
|
||||
],
|
||||
"query": "tenant1-ss-0-0.tenant1-hl.tenant-ns.svc.cluster.local:9000",
|
||||
"options": [],
|
||||
"query": {
|
||||
"qryType": 1,
|
||||
"query": "label_values(minio_node_drive_total,server)",
|
||||
"refId": "PrometheusVariableQueryEditor-VariableQuery"
|
||||
},
|
||||
"refresh": 1,
|
||||
"regex": "",
|
||||
"skipUrlSync": false,
|
||||
"type": "textbox"
|
||||
"sort": 0,
|
||||
"type": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user