Skip to content

iMisteg/smi_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

smi_exporter

nvidia-smi metrics exporter for Prometheus

Build

> go build -v smi_exporter.go

Run

> ./smi_exporter  -web.listen-address=<IP>:<PORT> -web.telemetry-path=/<Metric_path>

Default port is 9101 Default metric path is /metrics

localhost:9101/metrics

Exact command

nvidia-smi --query-gpu=name,index,temperature.gpu,utilization.gpu,utilization.memory,memory.total,memory.free,memory.used --format=csv,noheader,nounits

Prometheus example config

- job_name: "gpu_exporter"
  static_configs:
  - targets: ['localhost:9101']

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages