Dockerized Prometheus exporter for GPU statistics from nvidia-smi, written in Go. Supports multiple GPUs.
cuda12
,latest
- based on nvidia/cuda:12.6.2-base-ubuntu24.04
cuda11
- based on nvidia/cuda:11.5.2-base-ubuntu20.04
Run with a Docker command:
docker run --privileged --runtime nvidia -p 9202:9202/tcp e7db/prometheus-nvidiasmi:cuda12
Run through a docker-compose file:
services:
prometheus-nvidiasmi:
image: e7db/prometheus-nvidiasmi:cuda12
privileged: true
runtime: nvidia
ports:
- "9202:9202/tcp"
Check result at: http://localhost:9202/metrics
Nvidia SMI Metrics dashboard on Grafana Labs