Add grpc wait duration metrics (#18810)#18825
Add grpc wait duration metrics (#18810)#18825ti-chi-bot wants to merge 1 commit intotikv:release-8.1from
Conversation
close tikv#18809 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
This cherry pick PR is for a release branch and has not yet been approved by triage owners. To merge this cherry pick:
DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/close |
|
@yibin87: You can't close an active issue/PR unless you authored it or you are a collaborator. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@ti-chi-bot: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This is an automated cherry-pick of #18810
What is changed and how it works?
Issue Number: Close #18809
What's Changed:
Set "server.grpc-compression-type: gzip" and read large row data to overload grpc thread.

When gRPC thread is overloading, we can see "RPC Layer Latency" is high:
After adding grpc wait metrics, we can further detect the root cause and detect it earlier:

Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note