[skip ci]Update grafana rootcoord expr (#10384)

Signed-off-by: Weida Zhu <weida.zhu@zilliz.com>
This commit is contained in:
zwd1208 2021-10-21 20:05:22 +08:00 committed by GitHub
parent 7416fe17be
commit 4902f0ec5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,7 +429,7 @@
"targets": [
{
"exemplar": true,
"expr": "increase(milvus_rootcoord_has_collection_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"}[2m])/2",
"expr": "sum(increase(milvus_rootcoord_has_collection_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"total\"}[2m])/2)",
"interval": "",
"legendFormat": "total",
"queryType": "randomWalk",
@ -437,7 +437,7 @@
},
{
"exemplar": true,
"expr": "increase(milvus_rootcoord_has_collection_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[2m])/2 ",
"expr": "sum(increase(milvus_rootcoord_has_collection_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[2m])/2)",
"interval": "",
"legendFormat": "success",
"refId": "B"