-
Notifications
You must be signed in to change notification settings - Fork 3.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
ui: add CPU column on Insights #96279
Conversation
3120808
to
fff0785
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.
LGTM!
Reviewed 7 of 7 files at r1, 24 of 24 files at r2, 9 of 9 files at r3, all commit messages.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @maryliag)
pkg/ui/workspaces/cluster-ui/src/insights/types.ts
line 33 at r3 (raw file):
application: string; contentionTime?: moment.Duration; cpuNanos: number;
Just to clarify, the change to cpuSQLNanos
was only to be reflected on the sql package for crdb_internal
and system
tables for stmt statistics right? And when it comes to the naming in the UI package, cpuNanos
should remain as-is?
Explained offline, but yes, the naming change is to reflect that the stats saved are for sql cpu only, but on the UI we will continue to call it just CPU |
fff0785
to
7276f26
Compare
I might suggest still calling it |
Part Of cockroachdb#87213 Adds CPU Time column on Statement and Transaction Insights pages and their respective details pages. Release note (ui change): Add CPU Time to Statement and Transaction Insights.
7276f26
to
06838a1
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.
Done
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @gtr)
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 8 of 8 files at r5, all commit messages.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @maryliag)
TFTR! |
This PR was included in a batch that was canceled, it will be automatically retried |
Build failed (retrying...): |
Build failed (retrying...): |
Build succeeded: |
Part Of #87213
Adds CPU Time column on Statement and Transaction
Insights pages and their respective details pages.
Transaction Overview

Transaction Details

Statements Overview

Statement Details

Release note (ui change): Add CPU Time to Statement and
Transaction Insights.