From f23883e4dd6d13bdb170660f25b0a9bba8b5701e 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.0 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 d5576701a53c3..7bb530053619a 100644 --- a/metrics/grafana/tidb.json +++ b/metrics/grafana/tidb.json @@ -6341,7 +6341,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}}",