Open
Description
Current Behavior
All of the windows_cpu_processor_utility_total
and windows_cpu_processor_rtc_total
counters are always 0, whereas windows_cpu_processor_privileged_utility_total
shows values. I see no errors logged about missing performance counters.
Expected Behavior
It should report some non-zero values, shouldn't it?
Steps To Reproduce
1. Run `windows_exporter` with `cpu` collector enabled:
& 'C:\Program Files\windows_exporter\windows_exporter.exe' --collectors.enabled "cpu"
1. Read metrics:
curl http://localhost:9182/metrics
Environment
- windows_exporter Version: version=0.30.2 branch=HEAD revision=a20e1854d1b6753ef3cdf88d251015eb9116b3d0 goversion=go1.23.5 builddate=20250202-22:24:39 maxprocs=32
- Windows
ServerVersion: Windows 11 24H2 (26100.2894)
windows_exporter logs
> & 'C:\Program Files\windows_exporter\windows_exporter.exe' --collectors.enabled "cpu" --web.listen-address 100.64.116.64:9183
time=2025-02-12T06:48:53.096Z level=INFO source=main.go:306 msg="Running as EUPHORBIA\\******"
time=2025-02-12T06:48:53.096Z level=INFO source=main.go:223 msg="Enabled collectors: cpu"
time=2025-02-12T06:48:53.097Z level=INFO source=main.go:241 msg="starting windows_exporter in 155.2545ms" version=0.30.2 branch=HEAD revision=a20e1854d1b6753ef3cdf88d251015eb9116b3d0 goversion=go1.23.5 builddate=20250202-22:24:39 maxprocs=32
time=2025-02-12T06:48:53.097Z level=INFO source=tls_config.go:347 msg="Listening on" address=100.64.116.64:9183
time=2025-02-12T06:48:53.097Z level=INFO source=tls_config.go:350 msg="TLS is disabled." http2=false address=100.64.116.64:9183
Anything else?
No response