Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong cpu load #7

Open
dormancygrace opened this issue Nov 17, 2023 · 5 comments
Open

wrong cpu load #7

dormancygrace opened this issue Nov 17, 2023 · 5 comments

Comments

@dormancygrace
Copy link

here is what I see in grafana
image

and here is what i see in proxmox webui
image

VMs CPU usage wrong too

pve-exporter 3.0.2, pve 8

@gilkudik
Copy link

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".

@dormancygrace
Copy link
Author

Thank you! Works like a charm =)

@dormancygrace
Copy link
Author

Sorry, but i also need to fix Guest CPU Usage. Real value is ~30% in grafana i see ~6%

@deviantintegral
Copy link

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
Copy link
Author

@dormancygrace can you confirm the same?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants