-
Notifications
You must be signed in to change notification settings - Fork 266
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
Comments
@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. |
Hi @sen-io @oscarocastellanos, could you please take a look at this request? Thanks! |
@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. |
@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. |
@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. |
Working on something. Will post in a few minutes. |
@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. |
@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. |
That was fast, I like it @oscarocastellanos thank you. |
Waiting for implementation of this. Will update once it's implemented. Thanks for bringing it up @rc5hack |
Awesome! will work on this ⚡️ |
Is your feature request related to a problem? Please describe.
![example](https://private-user-images.githubusercontent.com/1535521/337965890-b6dd6dfe-e89a-401b-a882-23187cb09de2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4OTU2MDIsIm5iZiI6MTcxOTg5NTMwMiwicGF0aCI6Ii8xNTM1NTIxLzMzNzk2NTg5MC1iNmRkNmRmZS1lODlhLTQwMWItYTg4Mi0yMzE4N2NiMDlkZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDJUMDQ0MTQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTgwYTk2NGE2ZGEyMzc2ODYxYmUyZjE4ODVlYmJkZTQzM2YxOGQyOTIyOTM3NWJiYjUzNDA5YmJjY2YyOWYwOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.nMvNyXpz9rcyufAyzzLilcVM7YUE_QEDViuuXWPqz4E)
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.
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.:
The text was updated successfully, but these errors were encountered: