-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
execdetails: output write details in RuntimeStats #35814
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
1fb16e5
to
9c1aad7
Compare
2ce3416
to
5684893
Compare
2fa2f95
to
6240bf6
Compare
6240bf6
to
22120b8
Compare
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
22120b8
to
60b28d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found the Greek letter "µ" is not well displayed when opening with less in a develop machine, not sure if this is a problem.
rest LGTM
TiDB already uses "µs" in many places, I guess it's not a big problem... |
metrics/grafana/tidb.json
Outdated
"dashLength": 10, | ||
"dashes": false, | ||
"datasource": "${DS_TEST-CLUSTER}", | ||
"description": "Time spent on the RPC layer between TiDB and TiKV", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to comment it includes tidb batch client time.
@sticnarf
For the write details added for transaction commands including |
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 21c9c4a
|
017e2a4
to
2a42324
Compare
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/1aa1fc228b479323ded0c9ba91abe2d8e8438199 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 91dd09b
|
/run-check_dev_2 |
/run-check_dev_2 |
TiDB MergeCI notify🔴 Bad News! New failing [1] after this pr merged.
|
)" This reverts commit df31ac6.
Signed-off-by: Yilin Chen sticnarf@gmail.com
What problem does this PR solve?
Issue Number: ref #34487
What is changed and how it works?
Now, TiKV returns the detailed time breakdown of write requests. This PR outputs the returned results and output them in the runtime stats or slow query logs.
Now a slow log of a commit will contain more information, it will look like:
A new panel showing the RPC layer latency is added
Check List
Tests
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.