You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(windows): read CPU power from Scaphandre instead of LibreHardwareMonitor
LibreHardwareMonitor is a GUI app — awkward to install and keep running on a
headless box. Scaphandre is the tool the WinPowerMonitor ecosystem already uses:
it installs the signed Hubblo RAPL driver and runs as a Windows service with a
Prometheus endpoint. Heimdall now scrapes that (sum of
scaph_socket_power_microwatts) and reports power.cpu — Intel + AMD, pure Go, no
cgo. HEIMDALL_SCAPHANDRE_URL overrides the endpoint. Without it, power.cpu says
to run Scaphandre. Windows guide + metrics doc updated.
out=append(out, domain.Metric{Name: "power.cpu", Status: domain.StatusUnavailable, Detail: "no RAPL on Windows — run LibreHardwareMonitor for CPU power"})
37
+
out=append(out, domain.Metric{Name: "power.cpu", Status: domain.StatusUnavailable, Detail: "no RAPL on Windows — run Scaphandre for CPU power"})
Copy file name to clipboardExpand all lines: docs/metrics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ rather than failing. See [Privileged Metrics](guides/04-privileged-metrics.md).
72
72
|`temp.pkg`| °C | CPU package temperature |
73
73
|`gpu.temp`| °C | GPU temperature |
74
74
|`power.total`| W | whole-machine power — `cpu + gpu (+ npu)`, or the SMC whole-system total on macOS |
75
-
|`power.cpu`| W | CPU power (RAPL package on Linux; IOReport CPU on macOS) |
75
+
|`power.cpu`| W | CPU power — RAPL package (Linux), IOReport CPU (macOS), Scaphandre (Windows, when running); Unavailable-with-reason where no source exists (Apple Pro/Max, Windows without Scaphandre, GB10) |
76
76
|`power.gpu`| W | GPU power |
77
77
|`power.npu`| W | NPU / accelerator power (Apple Silicon ANE today). The legacy `power.ane` key is accepted and normalised to `power.npu` on ingest. |
0 commit comments