Skip to content
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

Add /tables page to tablet server ui #1830

Closed
srhickma opened this issue Jul 18, 2019 · 0 comments
Closed

Add /tables page to tablet server ui #1830

srhickma opened this issue Jul 18, 2019 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features area/ui All issues relating to UI/UX

Comments

@srhickma
Copy link
Contributor

Add a /tables view on each Tablet-Server which is an aggregated version of the /tablets view for tables on that server.

The aggregation should be something along the lines of GROUP BY table-id, state, with additional columns for on-disk size, number of leader/follower/read-replica/learner state. We can ignore the partition, tablet-id, and last status columns.

@srhickma srhickma added the area/ui All issues relating to UI/UX label Jul 18, 2019
@srhickma srhickma self-assigned this Jul 18, 2019
@kmuthukk kmuthukk added the area/docdb YugabyteDB core features label Jul 18, 2019
srhickma added a commit that referenced this issue Jul 23, 2019
Summary: This diff adds a `/tables` page to the tablet server ui, which is an aggregated version of the `/tablets` page. The "partition", "tablet id", and "last status" columns are ignored, and the rows are grouped by "table-id" and "state". The "Raft Config" column was changed to "Raft roles" which shows a count of the number of leaders, followers, learners, read-replicas, etc. for that table.

Test Plan:
Tested manually using a yb sample workload.

The following is an example of the `/tables` page followed by the corresponding `/tablets` page:
{F12410}

{F12411}

This is an example of what the ui looks like if some disk-sizes are not known:
{F12409}

Reviewers: hector, raju, kannan

Reviewed By: raju

Subscribers: amitanand, rao, ybase

Differential Revision: https://phabricator.dev.yugabyte.com/D6923
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features area/ui All issues relating to UI/UX
Projects
None yet
Development

No branches or pull requests

2 participants