Skip to content

Commit

Permalink
metrics: fix copr-cache metrics (#26339) (#26343)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Sep 2, 2021
1 parent 0a18ae2 commit 3bb7f41
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 @@ -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}}",
Expand Down

0 comments on commit 3bb7f41

Please sign in to comment.