All Projects → mindprince → Nvidia_gpu_prometheus_exporter

mindprince / Nvidia_gpu_prometheus_exporter

Licence: apache-2.0
NVIDIA GPU Prometheus Exporter

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Nvidia gpu prometheus exporter

Exporterhub.io
A Curated List of Prometheus Exporters
Stars: ✭ 252 (+82.61%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Github Exporter
Prometheus exporter for github metrics
Stars: ✭ 231 (+67.39%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Jmx exporter
A process for exposing JMX Beans via HTTP for Prometheus consumption
Stars: ✭ 2,134 (+1446.38%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Postgresql exporter
A Prometheus exporter for some postgresql metrics
Stars: ✭ 26 (-81.16%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Nexclipper
Metrics Pipeline for interoperability and Enterprise Prometheus
Stars: ✭ 533 (+286.23%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Kube State Metrics
Add-on agent to generate and expose cluster-level metrics.
Stars: ✭ 3,433 (+2387.68%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Oracledb exporter
Prometheus Oracle database exporter.
Stars: ✭ 209 (+51.45%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Statping
Status Page for monitoring your websites and applications with beautiful graphs, analytics, and plugins. Run on any type of environment.
Stars: ✭ 5,806 (+4107.25%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Snmp exporter
SNMP Exporter for Prometheus
Stars: ✭ 705 (+410.87%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Unifi exporter
Multiarch images for scraping Prometheus metrics from a Unifi Controller. Kubernetes / prometheus-operator compatible.
Stars: ✭ 54 (-60.87%)
Mutual labels:  monitoring, prometheus, prometheus-exporter
Pingprom
Prometheus uptime monitoring quickstart
Stars: ✭ 107 (-22.46%)
Mutual labels:  monitoring, prometheus
Jmeter Prometheus Plugin
A Prometheus Listener for Apache JMeter that exposes results in an http API
Stars: ✭ 101 (-26.81%)
Mutual labels:  prometheus, prometheus-exporter
Tomcat exporter
A Prometheus exporter for Apache Tomcat
Stars: ✭ 99 (-28.26%)
Mutual labels:  prometheus, prometheus-exporter
K8s Image Availability Exporter
Alert if an image used in Kubernetes cannot be pulled from container registry
Stars: ✭ 98 (-28.99%)
Mutual labels:  monitoring, prometheus-exporter
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+33182.61%)
Mutual labels:  monitoring, prometheus
Prometheus
The Prometheus monitoring system and time series database.
Stars: ✭ 40,114 (+28968.12%)
Mutual labels:  monitoring, prometheus
Ping exporter
Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
Stars: ✭ 134 (-2.9%)
Mutual labels:  prometheus, prometheus-exporter
Memcached exporter
Exports metrics from memcached servers for consumption by Prometheus.
Stars: ✭ 109 (-21.01%)
Mutual labels:  prometheus, prometheus-exporter
Heplify Server
HEP Capture Server
Stars: ✭ 110 (-20.29%)
Mutual labels:  monitoring, prometheus
Kubernetes Oom Event Generator
Generate a Kubernetes Event when a Pod's container has been OOMKilled
Stars: ✭ 93 (-32.61%)
Mutual labels:  monitoring, prometheus

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.

Building

The repository includes nvml.h, so there are no special requirements from the build environment. go get should be able to build the exporter binary.

go get github.com/mindprince/nvidia_gpu_prometheus_exporter

Running

The exporter requires the following:

  • access to NVML library (libnvidia-ml.so.1).
  • access to the GPU devices.

To make sure that the exporter can access the NVML libraries, either add them to the search path for shared libraries. Or set LD_LIBRARY_PATH to point to their location.

By default the metrics are exposed on port 9445. This can be updated using the -web.listen-address flag.

Running inside a container

There's a docker image available on Docker Hub at mindprince/nvidia_gpu_prometheus_exporter

If you are running the exporter inside a container, you will need to do the following to give the container access to NVML library:

-e LD_LIBRARY_PATH=<path-where-nvml-is-present>
--volume <above-path>:<above-path>

And you will need to do one of the following to give it access to the GPU devices:

  • Run with --privileged
  • If you are on docker v17.04.0-ce or above, run with --device-cgroup-rule 'c 195:* mrw'
  • Run with --device /dev/nvidiactl:/dev/nvidiactl /dev/nvidia0:/dev/nvidia0 /dev/nvidia1:/dev/nvidia1 <and-so-on-for-all-nvidia-devices>

If you don't want to do the above, you can run it using nvidia-docker.

Running using nvidia-docker

nvidia-docker run -p 9445:9445 -ti mindprince/nvidia_gpu_prometheus_exporter:0.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].