[skip ci] Refine Drop Partition Rate panel expression (#10378)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/10387/head
edward.zeng 2021-10-21 19:59:48 +08:00 committed by GitHub
parent b89b1d0576
commit 3f6cfecfa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1291,14 +1291,14 @@
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
"expr": "sum(rate(milvus_rootcoord_drop_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"}[5m])) by (pod)", "expr": "increase(milvus_rootcoord_drop_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"}[2m])/2",
"interval": "", "interval": "",
"legendFormat": "total", "legendFormat": "total",
"queryType": "randomWalk", "queryType": "randomWalk",
"refId": "A" "refId": "A"
}, },
{ {
"expr": "sum(rate(milvus_rootcoord_drop_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[5m])) by (pod)", "expr": "increase(milvus_rootcoord_drop_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[2m])/2",
"interval": "", "interval": "",
"legendFormat": "success", "legendFormat": "success",
"refId": "B" "refId": "B"