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

[feature]: show drive usage percentage in web-UI #3376

Closed
rc5hack opened this issue Jun 9, 2024 · 11 comments · Fixed by #3395
Closed

[feature]: show drive usage percentage in web-UI #3376

rc5hack opened this issue Jun 9, 2024 · 11 comments · Fixed by #3395
Assignees
Labels
community enhancement New feature or request

Comments

@rc5hack
Copy link

rc5hack commented Jun 9, 2024

Is your feature request related to a problem? Please describe.
Currently in web-UI in Administrator -> Monitoring -> Metrics -> Servers -> Drives I could see Capacity / Used / Available values as numerals and a little histogram as visualization, but I can't see usage percentage.
example

Describe the solution you'd like
In web-UI in Administrator -> Monitoring -> Metrics -> Servers -> Drives show Capacity / Used / Available values as numerals (as it is now) AND "Used %" (as [Capacity - Available * 100%]) AND "Available %" (as [Capacity - Used * 100%]).

E.g.:

  • Capacity: 800G
  • Used: 576G (72% of 800G)
  • Available: 224G (28% of 800G)
@harshavardhana harshavardhana transferred this issue from minio/minio Jun 9, 2024
@cesnietor cesnietor added enhancement New feature or request and removed triage labels Jun 10, 2024
@cesnietor
Copy link
Collaborator

@rc5hack could you please share how the percentage would be useful for you? what would you do with that percentage? we'd want to understand better the request. Thank you.

@bayasdev
Copy link
Contributor

bayasdev commented Jul 1, 2024

Hi @sen-io @oscarocastellanos, could you please take a look at this request? Thanks!

@sen-io
Copy link

sen-io commented Jul 1, 2024

@rc5hack I know the circle shows a rough approximation of the usage % graphically, but is this too abstract? If so, perhaps the circle on the left could show the percentage used also instead of the space amount since the same data is repeated on the right. Echoing what @cesnietor asked, understanding the reason for wanting to see the numbers would be helpful.

@cesnietor
Copy link
Collaborator

@sen-io I was thinking maybe showing the percentage value on hover also, cause it's not clear what that value is. We have 3 values on the right, only one on the left and showing two on the graph (the filled and the empty) so maybe we could figure out a better way of displaying this without being too confusing.

@sen-io
Copy link

sen-io commented Jul 1, 2024

@cesnietor We definitely shouldn't show a number without context. My thought was to show the word "used" with the percentage. Perhaps as grey text under it. Still though, we need more context for where the percentage is useful. Showing the % on hover might be fine also, but I think it's best to fully understand the reason before making changes.

@oscarocastellanos
Copy link

Working on something. Will post in a few minutes.

@oscarocastellanos
Copy link

@sen-io @cesnietor @bayasdev I think we can move to this view. I removed the redundancy of the labels, as we don't need to repeat the Capacity, just make clear that we have that info inside the circle. I also added labels for full clarity on the other elements.

Thoughts?
Console-Drives

@sen-io
Copy link

sen-io commented Jul 1, 2024

@oscarocastellanos I like the layout. Unsure if the total capacity is the most valuable piece of data to put inside the circle. Probably the easiest to place there though since it doesn't have an accompanying percentage. And it makes sense since the full circle is the total capacity.

@cesnietor
Copy link
Collaborator

That was fast, I like it @oscarocastellanos thank you.

@oscarocastellanos
Copy link

Waiting for implementation of this. Will update once it's implemented. Thanks for bringing it up @rc5hack

@bayasdev
Copy link
Contributor

bayasdev commented Jul 1, 2024

@sen-io @cesnietor @bayasdev I think we can move to this view. I removed the redundancy of the labels, as we don't need to repeat the Capacity, just make clear that we have that info inside the circle. I also added labels for full clarity on the other elements.

Thoughts?

Console-Drives

Awesome! will work on this ⚡️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants