[SOLVED] VM CPU % vs. metric server shown VM CPU%

tritor

Member
Jul 27, 2020
5
1
23
54
Austria
Hi all,

I set up metric server filing data into influxdb 2.

When looking at the VM CPU load directly in the summary I can see around 4% for my iobroker VM.
I the grafana dashboard I see then a value of 0.04% - a factor of 100 too low.

any idea how to correct?

same behavior for the CPU load of all other VMs and LXCs.
 
When looking at the VM CPU load directly in the summary I can see around 4% for my iobroker VM.
I the grafana dashboard I see then a value of 0.04% - a factor of 100 too low.
Maybe a 0 - 100% is handled as 0.0 - 1.0 like it is often the case when software needs to work with percentages? So a 0.04 means the same as a 4% with just the "%" being wrong for the 0.04?
 
Maybe a 0 - 100% is handled as 0.0 - 1.0 like it is often the case when software needs to work with percentages? So a 0.04 means the same as a 4% with just the "%" being wrong for the 0.04?
that is obvious, and it looks like proxmox internally handles values 0-1 ay the metric server side and displays it as 0-100% in the VM or LXC charts.
If so, then I have to look to modify the data probably in Grafana to display the percentage correctly
 
Maybe a 0 - 100% is handled as 0.0 - 1.0 like it is often the case when software needs to work with percentages? So a 0.04 means the same as a 4% with just the "%" being wrong for the 0.04?
that is obvious, and it looks like proxmox internally handles values 0-1 ay the metric server side and displays it as 0-100% in the VM or LXC charts.
If so, then I have to look to modify the data probably in Grafana to display the percentage correctly
 
Hi,
selecting in the grafana panel options dimension MISC. Percent 0.0 - 1 solved the issue
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!