[skip ci]Add component health state panel (#11673)

Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
pull/11552/head
zwd1208 2021-11-11 19:36:44 +08:00 committed by GitHub
parent 7a3873960b
commit 8dcd639784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 171 additions and 5 deletions

View File

@ -16,9 +16,92 @@
"gnetId": null,
"graphTooltip": 0,
"id": 27,
"iteration": 1636445632181,
"iteration": 1636629445699,
"links": [],
"panels": [
{
"datasource": "prometheus",
"description": "Current health state of RootCoord",
"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": 0,
"y": 0
},
"id": 123220,
"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=\"rootcoord\"})*(-1)",
"format": "time_series",
"interval": "",
"legendFormat": "",
"queryType": "randomWalk",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "RootCoord Health",
"type": "stat"
},
{
"datasource": "prometheus",
"description": "Current health state of DataCoord",
@ -65,8 +148,8 @@
},
"gridPos": {
"h": 5,
"w": 6,
"x": 0,
"w": 4,
"x": 4,
"y": 0
},
"id": 123219,
@ -102,6 +185,89 @@
"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"
},
{
"collapsed": false,
"datasource": null,
@ -5880,7 +6046,7 @@
"allValue": null,
"current": {
"isNone": true,
"selected": true,
"selected": false,
"text": "None",
"value": ""
},
@ -6008,5 +6174,5 @@
"timezone": "browser",
"title": "Milvus2.0",
"uid": "uLf5cJ3Gz",
"version": 148
"version": 156
}