Files
Juan Larriba 1a4a8c787c Add GPU metrics collection via NVIDIA NVML
Add seven new compute pollsters to collect GPU metrics from NVIDIA
vGPU (mdev) devices attached to instances using the NVIDIA Management
Library (NVML). New meters: gpu.utilization, gpu.memory.used,
gpu.memory.total, gpu.temperature, gpu.power.draw,
gpu.encoder.utilization, and gpu.decoder.utilization.

The implementation extends the existing inspector pattern with
inspect_gpus() in LibvirtInspector, correlating NVML vGPU instances
to libvirt domains via mdev UUID matching. On nodes without GPUs the
pollsters are completely silent; a warning is logged only when GPU
hardware is present but the NVIDIA driver is inaccessible.

Assisted-By: Claude Opus 4.6
Change-Id: I2edd3510c3ca7d0201a5697b02ec3188a49b08d2
Signed-off-by: Juan Larriba <jlarriba@redhat.com>
2026-10-02 12:44:05 +02:00
..