Skip to content

Dockerized Prometheus exporter for GPU statistics from nvidia-smi written in Go.

License

Notifications You must be signed in to change notification settings

e7d/docker-prometheus-nvidiasmi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Prometheus Nvidia SMI Exporter

Dockerized Prometheus exporter for GPU statistics from nvidia-smi, written in Go. Supports multiple GPUs.

Supported tags and respective Dockerfile links

How to use

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

Grafana dashboard

Nvidia SMI Metrics dashboard on Grafana Labs

About

Dockerized Prometheus exporter for GPU statistics from nvidia-smi written in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.2%
  • Dockerfile 4.8%