From 78051aa279d7b2af99620ba70afa52aaaf889d97 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Mon, 19 Jul 2021 16:25:34 +0800 Subject: [PATCH] cherry pick #26339 to release-5.1 Signed-off-by: ti-srebot --- metrics/grafana/tidb.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/grafana/tidb.json b/metrics/grafana/tidb.json index 1524e632c2d1c..21f7d6ac431ed 100644 --- a/metrics/grafana/tidb.json +++ b/metrics/grafana/tidb.json @@ -6657,7 +6657,7 @@ "steppedLine": false, "targets": [ { - "expr": "histogram_quantile(1, sum(rate(tidb_distsql_copr_cache_bucket{tidb_cluster=\"$tidb_cluster\"}[1m])) by (type))", + "expr": "sum(rate(tidb_distsql_copr_cache_count{tidb_cluster=\"$tidb_cluster\"}[1m])) by (type)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{type}}",