Skip to content

Commit

Permalink
metrics/grafana: fix display for 'Start TSO Wait Duration' panel
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao committed Dec 1, 2021
1 parent a046014 commit 45a4a0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -8051,22 +8051,22 @@
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(0.999, sum(rate(pd_client_cmd_handle_cmds_duration_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"expr": "histogram_quantile(0.999, sum(rate(tidb_tikvclient_ts_future_wait_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "999-{{type}}",
"refId": "A",
"step": 10
},
{
"expr": "histogram_quantile(0.99, sum(rate(pd_client_cmd_handle_cmds_duration_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"expr": "histogram_quantile(0.99, sum(rate(tidb_tikvclient_ts_future_wait_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99-{{type}}",
"refId": "B"
},
{
"expr": "histogram_quantile(0.90, sum(rate(pd_client_cmd_handle_cmds_duration_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"expr": "histogram_quantile(0.90, sum(rate(tidb_tikvclient_ts_future_wait_seconds_bucket{tidb_cluster=\"$tidb_cluster\", type!~\"tso|tso_async_wait\"}[1m])) by (le, type))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "90-{{type}}",
Expand Down

0 comments on commit 45a4a0e

Please sign in to comment.