Skip to content

Commit

Permalink
metrics: fix copr-cache metrics (#30712)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackysp authored Dec 15, 2021
1 parent 64f7309 commit 87dbcc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -6657,7 +6657,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tidb_distsql_copr_cache_count{tidb_cluster=\"$tidb_cluster\"}[1m])) by (type)",
"expr": "sum(rate(tidb_distsql_copr_cache_sum{tidb_cluster=\"$tidb_cluster\"}[1m])) by (type)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{type}}",
Expand Down

0 comments on commit 87dbcc2

Please sign in to comment.