lazydocker icon indicating copy to clipboard operation
lazydocker copied to clipboard

stats change Memory from % to mb

Open ErvisTusha opened this issue 3 years ago • 3 comments

I think its better and more informative to show memory in mb/gb for example I don't know how much memory limit containers have for example Memory ( 34% ) : 34mb/100mb

ErvisTusha avatar Dec 14 '22 16:12 ErvisTusha

+1 to have the possibility to change statPath: DerivedStats.MemoryPercentage by DerivedStats.MemoryUsage for example.

Edit: Currently I use statPath: ClientStats.MemoryStats.Usage but the unit is B not MB

dufguix avatar Feb 15 '23 08:02 dufguix

I'm willing to contribute this. How about calling it DerivedStats.MemoryMB to make it clear it's in megabytes?

MikeMoolenaar avatar Oct 26 '23 15:10 MikeMoolenaar

I'm thinking about adding DerivedStats.MemoryMiB (I believe MiB is more correct and docker stats also represents it that way). Users are then able to use this value as a graph via the config file.

@jesseduffield would love to know your thoughts and I'd be happy to make a PR.

MikeMoolenaar avatar Oct 29 '23 13:10 MikeMoolenaar