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

[Metrics UI] Allow user to sort nodes on waffle map by metric value #65935

Closed
hbharding opened this issue May 8, 2020 · 1 comment · Fixed by #66644
Closed

[Metrics UI] Allow user to sort nodes on waffle map by metric value #65935

hbharding opened this issue May 8, 2020 · 1 comment · Fixed by #66644
Labels
enhancement New value added to drive a business result Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@hbharding
Copy link
Contributor

hbharding commented May 8, 2020

Background

Currently, nodes on the waffle map are organized alphabetically by name / id. It was designed this way so that the nodes always appear in a consistent location. For example, my "Apples" node always appears in the top left, and my "Zebra" node always appears in the bottom right. This way, if I'm looking for a particular node, I know the general location of where to look. This use case makes sense for a lot of users, especially ones with small deployments, but it has some downsides:

  • For Kubernetes pods that come and go and are dynamically named on creation, sorting alphabetically doesn't really do much.
  • For large deployments where scrolling is necessary, the visualization prioritizes "Apples" and pushes "Zebras" down the page, which means I might never see that something is going on with my "Zebra" nodes.
  • When there are lots of nodes, the colors on the waffle map produce a grainy image, which makes it difficult to visually isolate nodes by their color. As a metaphor / example, imagine trying to find the 12 dead pixels on this static TV screen: image

Proposal

Allowing the user to choose how nodes are sorted on the waffle map opens up a visual dimension which can help the user better understand the overall health of their nodes. Sorting nodes by a metric value would produce a gradient image that is logical, less chaotic, and easy to understand. For example, pretending this image is a waffle map, I can easily see the groups of my "hot", "lukewarm", "cool", and "cold" nodes, and I can also see that the overall status is about 50:50 hot/cold.

image

Illustrations aside, here's how this might look in the Metrics UI.

image
image
image

To start, I'm proposing we keep this as simple as possible by introducing a "sort by" field next to the "group by" field which only has 2 options:

  • Name
  • Metric value (corresponds to the currently selected metric)
  • and a way to reverse the direction (A -> Z / Z -> A / High -> Low / Low -> High )

Sorting would happen at the group level. I think "Name" should remain the default sorting method so that users aren't surprised or confused when they update Kibana.

Example mockup of groups + sorting

image

Happy to hear anyones thoughts / questions / feedback.

@hbharding hbharding added Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels May 8, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@sorantis sorantis added the enhancement New value added to drive a business result label May 11, 2020
@sorantis sorantis changed the title [Metrics] Allow user to sort nodes on waffle map by metric value [Metrics UI] Allow user to sort nodes on waffle map by metric value May 11, 2020
@sgrodzicki sgrodzicki added this to To do in [INACTIVE] Metrics / Red Team Backlog via automation May 25, 2020
@sgrodzicki sgrodzicki added this to the Metrics UI 7.9 milestone May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants