-
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
ui: add MVCC range stats to Db Console #85599
ui: add MVCC range stats to Db Console #85599
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.
LGTM at a high level. This will handle missing fields from 22.1 nodes gracefully?
pkg/ui/workspaces/db-console/src/views/cluster/containers/nodeOverview/tooltips.tsx
Outdated
Show resolved
Hide resolved
50ffd28
to
064ce59
Compare
Changed access to fields with fallback values in case they're not available for any reason. Regarding version 22.1, this version serves it's own version of DbConsole that doesn't have this change (unless it is not backported) and relies on protobuf definitions without new stats. |
Makes sense, thanks! Wasn't sure if DB Console would receive data from other nodes -- if it only ever communicates with the local node then it should be fine. But good to have a fallback just in case. Thanks again for getting this in so quickly! |
This patch extends node details with `rangeKeyBytes` and `rangeValueBytes` stats. Also, it adds the same stats to Advanced Debug > Range Status section. Release note (ui change): Added "Range Key Bytes" and "Range Value Bytes" stats on Node details page.
064ce59
to
154faa6
Compare
bors r+ |
Build succeeded: |
This patch extends node details with
rangeKeyBytes
and
rangeValueBytes
stats. Also, it adds the samestats to Advanced Debug > Range Status section.
Release note (ui change): Added "Range Key Bytes" and
"Range Value Bytes" stats on Node details page.