-
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
show more information about cop tasks in slow log #10236
Conversation
/run-all-tests tidb-test=release-2.1 tikv=release-2.1 pd=release-2.1 |
@@ -88,9 +98,12 @@ func (*testSessionSuite) TestSlowLogFormat(c *C) { | |||
# Is_internal: true | |||
# Digest: 42a1c8aae6f133e934d4bf0147491709a8812ea05ff8819ec522780fe657b772 | |||
# Stats: t1:pseudo | |||
# Num_cop_tasks: 10 | |||
# Cop_process: Avg_time: 1s P90_time: 2s Max_time: 3s | |||
# Cop_wait: Avg_time: 10ms P90_time: 20ms Max_time: 30ms |
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.
Remember to fix this format in other PR.
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.
Yes, in order to avoid conflict, I will cherry-pick the other PR which fix this format after this PR is merged.
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.
LGTM
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.
LGTM
cherry-pick for #10165.