Skip to content

Commit

Permalink
grafana: fix KV transaction OPS (pingcap#24781)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackysp authored May 25, 2021
1 parent eeb6641 commit f130a10
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 @@ -3923,7 +3923,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tidb_tikvclient_txn_cmd_duration_seconds_count{tidb_cluster=\"$tidb_cluster\"}[1m])) by (instance)",
"expr": "sum(rate(tidb_tikvclient_txn_cmd_duration_seconds_count{tidb_cluster=\"$tidb_cluster\", type=\"commit\"}[1m])) by (instance)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{instance}}",
Expand Down

0 comments on commit f130a10

Please sign in to comment.