-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: add query level execution stats to sampled query log #87527
sql: add query level execution stats to sampled query log #87527
Conversation
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.
Reviewed 4 of 6 files at r1, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @maryliag and @THardy98)
pkg/util/log/eventpb/telemetry.proto
line 147 at r1 (raw file):
// The number of network bytes sent by nodes for this query. int64 network_bytes_sent = 39 [(gogoproto.jsontag) = ',omitempty'];
looks like there will be some merge conflicts with https://github.com/cockroachdb/cockroach/pull/87508/files
you and @xinhaoz should coordinate on merges (or one can already rebase on the other)
ad84bed
to
88af984
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.
Reviewed 1 of 6 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @THardy98)
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.
you're missing some generated code, you need to run dev gen
to create the docs
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @THardy98)
Partially addresses: cockroachdb#84729 This change adds: - network bytes sent - maximum memory usage - maximum disk usage - KV bytes read - KV rows read - network messages fields to the `SampledQuery` telemetry log. Release justification: low risk, high benefit changes to existing functionality Release note (sql change): This change adds:: - network bytes sent - maximum memory usage - maximum disk usage - KV bytes read - KV rows read - network messages fields to the `SampledQuery` telemetry log.
88af984
to
c546e33
Compare
CI failed essential Bazel CI on flakey eslint.sh test. Going to bors. |
bors r+ |
Build succeeded: |
Partially addresses: #84729
This change adds:
fields to the
SampledQuery
telemetry log.Release justification: low risk, high benefit changes to existing functionality
Release note (sql change): This change adds::
SampledQuery
telemetry log.