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