Page MenuHomeFreeBSD

New port: net-mgmt/nvidia_gpu_prometheus_exporter: NVIDIA GPU Prometheus exporter
ClosedPublic

Authored by 0mp on Jan 28 2019, 1:40 PM.

Details

Summary
New port: net-mgmt/nvidia_gpu_prometheus_exporter: NVIDIA GPU Prometheus exporter

This is a Prometheus Exporter for exporting NVIDIA GPU metrics. It uses the Go
bindings for NVIDIA Management Library (NVML) which is a C-based API that can
be used for monitoring NVIDIA GPU devices. Unlike some other similar exporters,
it does not call the nvidia-smi binary.

WWW: https://github.com/mindprince/nvidia_gpu_prometheus_exporter
  • This software should work with any NVIDIA driver we have in the ports collection. I've decided not to depend on any NVIDIA driver explicitly, and just inform the user that a driver is required via pkg-message. At first about introducing flavors that would depend on different Nvidia drivers but I was told that pkg-message is a better solution in this case.
Test Plan
  • portlint
  • poudriere testport (i386, amd64) on 11.2, 12.0, 13.0-CURRENT
  • Tested manually on an amd64 machine running 13.0-CURRENT: software works as intended.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Jan 28 2019, 1:44 PM
This revision was automatically updated to reflect the committed changes.

Looks fine, except that I'd reformatted pkg-descr as fmt -w 76 (right now it is against 79, that is, almost hitting the right edge of the standard 80-char terminal window).