hyperv: locale-independent wmi_health query; assert hyperv/dmi in CI (#2510)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-07 16:08:23 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 4063c3800d
commit eea3689ec9
5 changed files with 37 additions and 4 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ Multiply by the number of threads per core to get the ratio per **physical** cor
### Hyper-V WMI Health
Sub-collector `wmi_health`, enabled by default. It runs a minimal WQL query
(`SELECT Name FROM Msvm_ComputerSystem WHERE Caption = 'Hosting Computer System'`) against the
(`SELECT Name FROM Msvm_ComputerSystem WHERE Name = '<computer name>'`) against the
`root/virtualization/v2` namespace on every scrape, so remove it from `--collectors.hyperv.enabled` if you don't need it.
| Name | Description | Type | Labels |