Open dormancygrace opened 8 months ago
Just change the CPU history widget to have a percentage 0-1.0 value with a softmax and max of 1.0; then on the Current CPU widget, change the value to "pve_cpu_usage_ratio{instance="$instance"} and on(id) pve_node_info".
Thank you! Works like a charm =)
Sorry, but i also need to fix Guest CPU Usage. Real value is ~30% in grafana i see ~6%
I'm seeing the same issue with guest CPU usage. The current query is:
((pve_cpu_usage_ratio{instance="$instance"} / pve_cpu_usage_limit) * on(id, instance) group_left(name, type) pve_guest_info) and on(id, instance) pve_up == 1
If I remove / pve_cpu_usage_limit
I look to get data that matches the built-in Proxmox graphs. pve_cpu_usage_limit
looks to contain the number of cores each guest is allocated, so it's artificially dividing any multi-core guest CPU load.
@dormancygrace can you confirm the same?
@dormancygrace can you confirm the same?
Yes
here is what I see in grafana
and here is what i see in proxmox webui
VMs CPU usage wrong too
pve-exporter 3.0.2, pve 8