mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 01:59:04 +02:00
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:
co-authored by
Claude Opus 5.5
parent
4063c3800d
commit
eea3689ec9
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user