hyperv: add the vm_state sub-collector for VMs that are not running (#2765)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-16 21:21:21 +02:00
committed by GitHub
parent ea6126fb67
commit 4f3152d84d
7 changed files with 460 additions and 7 deletions
+4 -4
View File
@@ -312,10 +312,10 @@ See [the logical_disk documentation](../collector.logical_disk.md#bitlocker-stat
### New default sub-collectors
| Collector | New sub-collectors enabled by default |
|-------------|---------------------------------------------------------|
| `hyperv` | `host`, `replica_vm`, `virtual_hard_disk`, `wmi_health` |
| `mscluster` | `shared_volumes` |
| Collector | New sub-collectors enabled by default |
|-------------|---------------------------------------------------------------------|
| `hyperv` | `host`, `replica_vm`, `virtual_hard_disk`, `vm_state`, `wmi_health` |
| `mscluster` | `shared_volumes` |
These add new metrics. To keep the 0.31 set, list the sub-collectors explicitly with `--collector.hyperv.enabled` or `--collector.mscluster.enabled`.