feat(agent): monitor Intel Arc (xe) GPUs via nvtop (#2223)

intel_gpu_top does not support the xe driver, so skip it for xe devices
and let the existing nvtop last-resort collector handle them. nvtop leaves
device_name unset on xe, so name the GPU from its PCI device id ("Intel GPU
(<id>)"). Adds nvtop to the Intel agent image (gputop already ships with
igt-gpu-tools).
This commit is contained in:
Miłosz Kolber
2026-08-16 17:41:28 +02:00
committed by GitHub
parent 3688b2d033
commit bfa6a1e361
3 changed files with 47 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ FROM alpine:3.23
COPY --from=builder /agent /agent
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/testing igt-gpu-tools smartmontools
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/testing igt-gpu-tools nvtop smartmontools
# Ensure data persistence across container recreations
VOLUME ["/var/lib/beszel-agent"]