mirror of https://github.com/milvus-io/milvus.git
[skip ci]Update grafana format (#12641)
Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>pull/12645/head
parent
f53e53cd60
commit
9c6dce00ba
|
@ -102,89 +102,6 @@
|
|||
"title": "DataCoord Health",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "prometheus",
|
||||
"description": "Current health state of IndexCoord",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "thresholds"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"from": "-65535",
|
||||
"id": 1,
|
||||
"text": "UP",
|
||||
"to": "-1",
|
||||
"type": 2,
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"from": "0",
|
||||
"id": 2,
|
||||
"text": "DOWN",
|
||||
"to": "1",
|
||||
"type": 1,
|
||||
"value": "0"
|
||||
}
|
||||
],
|
||||
"noValue": "N/A",
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"color": "dark-red",
|
||||
"value": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "short"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 5,
|
||||
"w": 4,
|
||||
"x": 8,
|
||||
"y": 0
|
||||
},
|
||||
"id": 123221,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "none",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "auto",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"text": {},
|
||||
"textMode": "auto"
|
||||
},
|
||||
"pluginVersion": "7.5.4",
|
||||
"targets": [
|
||||
{
|
||||
"exemplar": true,
|
||||
"expr": "sum(up{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\",app_kubernetes_io_component=\"indexcoord\"})*(-1)",
|
||||
"format": "time_series",
|
||||
"interval": "",
|
||||
"legendFormat": "",
|
||||
"queryType": "randomWalk",
|
||||
"refId": "A"
|
||||
}
|
||||
],
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "IndexCoord Health",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": "prometheus",
|
||||
"description": "Current health state of QueryCoord",
|
||||
|
|
Loading…
Reference in New Issue