The class_drm_amdgpu.go module will return empty objects if there are no AMD GPUs, but the card[0-9] directory exists. This can happen when NVIDIA GPUs are present instead, and the directories for each will still exist, even though the DRIVER in the event file is not amdgpu.
The empty objects will then be exported as metrics by node_exporter.
The
class_drm_amdgpu.gomodule will return empty objects if there are no AMD GPUs, but thecard[0-9]directory exists. This can happen when NVIDIA GPUs are present instead, and the directories for each will still exist, even though theDRIVERin theeventfile is notamdgpu.The empty objects will then be exported as metrics by
node_exporter.