From a722cee32204a05766e5f6b0500416b90e5f378a Mon Sep 17 00:00:00 2001 From: Anton Akhmedzyanov Date: Thu, 28 Jul 2022 20:15:00 +0300 Subject: [PATCH] Add Hyper-V Hypervisor CPU utilization query. Signed-off-by: Anton Akhmedzyanov --- docs/collector.hyperv.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/collector.hyperv.md b/docs/collector.hyperv.md index 0900d9f4..0be4bfd4 100644 --- a/docs/collector.hyperv.md +++ b/docs/collector.hyperv.md @@ -121,6 +121,10 @@ Percent of physical CPU resources by the hosts themselves (on all monitored host ``` (sum by (instance)(rate(windows_hyperv_host_cpu_total_run_time{}[1m]))) / sum by (instance)(windows_cs_logical_processors{}) / 100000 ``` +Percent of physical CPU resources by the hypervisor (on all monitored hosts) +``` +(sum by (instance)(rate(windows_hyperv_host_lp_total_run_time{}[1m]))) / sum by (instance)(windows_hyperv_hypervisor_logical_processors{}) / 100000 +``` ## Alerting examples _This collector does not yet have alerting examples, we would appreciate your help adding them!_