Skip to content

Commit 5fe53c7

Browse files
authored
metrics: add Backoff time into execution time overview for easier debug (#61442)
close #61441
1 parent 1962f22 commit 5fe53c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pkg/metrics/grafana/performance_overview.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,11 @@
483483
"$$hashKey": "object:321",
484484
"alias": "tiflash_mpp",
485485
"color": "#8F3BB8"
486+
} ,
487+
{
488+
"$$hashKey": "object:145",
489+
"alias": "Backoff",
490+
"color": "#FF7383"
486491
}
487492
],
488493
"spaceLength": 10,
@@ -520,6 +525,14 @@
520525
"interval": "",
521526
"legendFormat": "tiflash_mpp",
522527
"refId": "A"
528+
},
529+
{
530+
"exemplar": true,
531+
"expr": "sum(rate(tidb_tikvclient_backoff_seconds_sum{k8s_cluster=\"$k8s_cluster\",tidb_cluster=\"$tidb_cluster\"}[1m]))",
532+
"hide": false,
533+
"interval": "",
534+
"legendFormat": "Backoff",
535+
"refId": "D"
523536
}
524537
],
525538
"thresholds": [],

0 commit comments

Comments
 (0)