newrelic / nr1-top

NR1 Top allows you to display and inspect the top processes of your hosts, including CPU, I/O and memory.
https://github.com/newrelic/nr1-top/discussions
Apache License 2.0
5 stars 16 forks source link

Memory charts: don’t divide by 1MB #3

Closed cirne closed 4 years ago

cirne commented 5 years ago

Let the chart Y axis determine “M”, “G”, etc. Otherwise you get “2K MB” for 2GB.

tangollama commented 4 years ago

It looks like the platform addressed these issues and that this function handles the table content https://github.com/newrelic/nr1-top/blob/master/nerdlets/common/bytes-to-size.js