smi_exporter

command module
v0.0.0-...-1a33dec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 8 Imported by: 0

README

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']

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL