-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 load balancer state in master web interface #646
Comments
Once we do #1336, we can also use the revamped API to highlight this somewhere in the master UI, perhaps on the /tablet-servers page, or even in the main page! cc @rajukumaryb @rahuldesirazu |
I think we can probably take care of this as part of #1834. @nspiegelberg maybe on top of just having this info in the report there, we can also just put one front and center green vs red note somewhere in the main master page? |
@nspiegelberg A lot of the load balancer state is tracked in cluster_balance.h
is_idle_ is the metric you probably want to expose as the green/red note in the master main page. For more detailed metrics, ActivityInfo is contains metadata about whether the pending task is a tserver, table, or master task. To actually expose the metrics, you can modify master-path-handlers.h/cc. Hope this helps! |
@yb-andrew : for observing my puny X and trying to make it big and red |
Summary: Trivial column to display whether the load balancer is idle when debugging a YB master. Test Plan: Manual UI Testing https://user-images.githubusercontent.com/53198280/64302104-a9796680-cf36-11e9-9831-fd7ab780b8a8.png https://user-images.githubusercontent.com/53198280/64304342-5dcbba80-cf40-11e9-8599-24405044353e.png Reviewers: sergei, rahuldesirazu, andrew, bogdan Reviewed By: bogdan Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D7162
Summary: Trivial column to display whether the load balancer is idle when debugging a YB master. Test Plan: Manual UI Testing https://user-images.githubusercontent.com/53198280/64302104-a9796680-cf36-11e9-9831-fd7ab780b8a8.png https://user-images.githubusercontent.com/53198280/64304342-5dcbba80-cf40-11e9-8599-24405044353e.png Reviewers: sergei, rahuldesirazu, andrew, bogdan Reviewed By: bogdan Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D7162
Periodically we face issue when tablet leaders are not well balanced between tservers.
That would be handy to show load balancer state in this case, so that could simplify issue investigation.
The text was updated successfully, but these errors were encountered: