Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
granafa: add tidb ideal qps and hide it by default (#767)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
  • Loading branch information
jackysp authored and liubo0127 committed Jun 3, 2019
1 parent 724eb4a commit f5cfa4d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/tidb.json
Expand Up @@ -222,6 +222,16 @@
"legendFormat": "yesterday",
"refId": "B",
"step": 90
},
{
"expr": "sum(tidb_server_connections) * sum(rate(tidb_server_handle_query_duration_seconds_count[1m])) / sum(rate(tidb_server_handle_query_duration_seconds_sum[1m]))",
"format": "time_series",
"hide": true,
"instant": false,
"intervalFactor": 3,
"legendFormat": "ideal QPS",
"refId": "C",
"step": 60
}
],
"thresholds": [],
Expand Down

0 comments on commit f5cfa4d

Please sign in to comment.