Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRM_amdgpu class returns entries even if AMD GPUs are not present #673

Open
Deezzir opened this issue Oct 2, 2024 · 0 comments · May be fixed by #672
Open

DRM_amdgpu class returns entries even if AMD GPUs are not present #673

Deezzir opened this issue Oct 2, 2024 · 0 comments · May be fixed by #672

Comments

@Deezzir
Copy link

Deezzir commented Oct 2, 2024

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.

@Deezzir Deezzir linked a pull request Oct 2, 2024 that will close this issue
@Deezzir Deezzir changed the title DRM_amdgpu class returns entires even if AMD GPUs do not exist DRM_amdgpu class returns entries even if AMD GPUs do not exist Oct 18, 2024
@Deezzir Deezzir changed the title DRM_amdgpu class returns entries even if AMD GPUs do not exist DRM_amdgpu class returns entries even if AMD GPUs are not present Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant