mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 10:09:05 +02:00
hyperv: add virtual_hard_disk sub-collector (#2693)
Signed-off-by: EisenbergD <dominik.eisenberg@beiersdorf.com> Co-authored-by: EisenbergD <dominik.eisenberg@beiersdorf.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
EisenbergD
Claude Opus 5.5
parent
89c5df9d8b
commit
ec7dcdc259
@@ -24,6 +24,12 @@ online Generic Service that depends on an online IP Address, plus an offline IP
|
||||
Address. The `CIFailedResources` group contains a Generic Service whose binary is
|
||||
missing, so it stays failed. Native and WMI parity tests require these resources.
|
||||
|
||||
Hyper-V runs the `GitHubActions` VM with a 1 GB dynamic VHDX and a legacy
|
||||
network adapter. A second VM, `CIVirtualHardDisk`, is never started: it has a
|
||||
dynamic disk with a checkpoint, so it runs on a differencing `.avhdx`, and a
|
||||
fixed disk attached after the checkpoint. The `virtual_hard_disk` tests require
|
||||
each of its disks to be reported exactly once.
|
||||
|
||||
`WINDOWS_EXPORTER_TEST_COLLECTORS` lists required collectors. Their tests fail
|
||||
when setup is missing or collection fails instead of skipping. Fixture assertions
|
||||
check known instances, including the active RDP user's session and SQL database.
|
||||
|
||||
Reference in New Issue
Block a user