make cluster resource counters more readable (add commas or convert amounts to more readable measurements)
NetBox version
v4.0-beta1
Feature type
Change to existing functionality
Proposed functionality
adjust the resource counters on the cluster view page to add comma's or change from MB -> GB -> TB
right now it can be kind of unreadable for larger clusters
Use case
when viewing clusters with a large amount of assigned resources (high amounts of ram , CPU or storage) it can be a little hard to read (especially memory as its in MB)
Database changes
n/a
External dependencies
n/a
We have the humanize_megabytes() template filter in place which does this for certain values, but only for even multiples of 1024. E.g. a value of 4096 MB will display as 4 GB but a value of 4000 MB will not be converted. It seems reasonable to display fractional values, e.g. 2.5 GB, however we also want to ensure that the exact numeric value is always conveyed somehow.
Could you please assign it to me?