From 97552ce4de05865208aa0741296985182a2d5c33 Mon Sep 17 00:00:00 2001 From: zwd1208 Date: Sat, 23 Oct 2021 17:01:22 +0800 Subject: [PATCH] [skip ci]Fix grafana panel expr (#10506) Signed-off-by: Weida Zhu --- deployments/monitor/grafana/milvus-dashboard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/monitor/grafana/milvus-dashboard.json b/deployments/monitor/grafana/milvus-dashboard.json index 7c196c4c14..2579117086 100644 --- a/deployments/monitor/grafana/milvus-dashboard.json +++ b/deployments/monitor/grafana/milvus-dashboard.json @@ -1954,7 +1954,7 @@ "refId": "A" }, { - "expr": "sum(rate(milvus_rootcoord_has_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[5m])) by (pod)", + "expr": "sum(increase(milvus_rootcoord_has_partition_total{app_kubernetes_io_instance=~\"$instance\", app_kubernetes_io_name=\"$app_name\", namespace=\"$namespace\", type=\"success\"}[2m])/2)", "interval": "", "legendFormat": "success", "refId": "B"