Report decimal/float instead of integer #14003
nikobearrr
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
Hello @nikobearrr , If you want to show some decimal values instead only integers, you have to multiply the integer by a higher value and when you create the dimension, you need to specify the divisor. When Netdata shows the number for you, it will use the specified value and display the data like you want. To give an example for you, please, take a look in next image: as you can see I have decimal values that are created because we divide collector value by 1024 netdata/collectors/proc.plugin/proc_meminfo.c Lines 208 to 223 in cde5456 Best regards! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a plugin which ends up updating the metrics like so:
But this is send as an integer to the chart. How can I have it with 2-3 decimals?
Beta Was this translation helpful? Give feedback.
All reactions