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

Commit

Permalink
bugfix: fix performance map grpc thread cpu usage (#991)
Browse files Browse the repository at this point in the history
Signed-off-by: lucklove <gnu.crazier@gmail.com>
  • Loading branch information
lucklove authored Oct 14, 2019
1 parent 0468a07 commit d30a3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/performance_read.json
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tikv_thread_cpu_seconds_total{name=~\"raftstore_.*\"}[1m])) by (instance, name)",
"expr": "sum(rate(tikv_thread_cpu_seconds_total{name=~\"grpc.*\"}[1m])) by (instance, name)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }} - {{name}}",
Expand Down
2 changes: 1 addition & 1 deletion scripts/performance_write.json
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@
"steppedLine": false,
"targets": [
{
"expr": "topk(5, sum(rate(tikv_thread_cpu_seconds_total{name=~\"raftstore_.*\"}[1m])) by (instance, name))",
"expr": "topk(5, sum(rate(tikv_thread_cpu_seconds_total{name=~\"grpc.*\"}[1m])) by (instance, name))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{ instance }} - {{ name }}",
Expand Down

0 comments on commit d30a3fd

Please sign in to comment.