Skip to main content

windows_exporter

msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=os,iis LISTEN_PORT=5000
# hyperv
(sum (rate(windows_hyperv_vm_cpu_hypervisor_run_time{instance=~""}[1m])))
/ ignoring(vm) group_left max (windows_cs_logical_processors{instance=~""}) / 100000

sum (rate(windows_hyperv_vm_cpu_hypervisor_run_time[1m])) by (vm)
(sum (rate(windows_hyperv_vm_cpu_hypervisor_run_time[1m])))
/ ignoring(vm) group_left max (windows_cs_logical_processors) / 100000