Prometheus nvidia-smi Exporter

A lightweight Unraid plugin that exposes GPU statistics from nvidia-smi as Prometheus metrics, making the data available to any monitoring stack that can…

  • Monitoring & Logging
  • Plugins
  • Productivity
  • Tools & Utilities
A lightweight Unraid plugin that exposes GPU statistics from nvidia-smi as Prometheus metrics, making the data available to any monitoring stack that can scrape a standard /metrics endpoint.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

25/100 Low

Maintained
0last commit 732 days ago
Popular
2618 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
75no serious findings

Based on 4 of 5 factors.

Availability: platform listings confirmed today, links checked 5 days ago

GitHub stars
18
Open issues
0
Last commit
2024-11-19
License
MIT
Activity
stale

Checked today - source: GitHub (e7d/docker-prometheus-nvidiasmi)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Set Prometheus scrape timing safely Use the global configuration section as a template and set scrape_interval (how often to collect metrics) and scrape_timeout (how long to wait for one collection). Keep the timeout shorter than the interval, or scrapes can pile up and produce confusing missing data. source
  • Check the exporter is being scraped After starting Prometheus, run curl http://localhost:9090/api/v1/targets to see your nvidia-smi exporter in the target list. If it is missing or not up, Prometheus is not reaching the exporter, so GPU metrics will not appear. source
  • Add the exporter as a Prometheus target The exporter listens on port 9202. Add your Unraid host IP with port 9202 as a scrape target in your Prometheus configuration (e.g. <unraid-ip>:9202). Metrics are served at /metrics. source
  • Run the exporter container Expose port 9202 for the /metrics endpoint and use the NVIDIA Docker runtime, for example: docker run --privileged --runtime nvidia -p 9202:9202/tcp e7db/prometheus-nvidiasmi:cuda12 source

Fetched 46 days ago - each note links to its source

Alternatives (12)

  • Amazon CloudWatch - Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications running on AWS.
  • Better Stack - AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
  • Datadog - Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
  • DeepFlow - Unify your cloud-native monitoring with zero-code eBPF, advanced profiling, and 10x storage efficiency.
  • Grafana Loki - Grafana Loki is an open-source log aggregation system.
  • Graylog - Graylog is a centralized log management platform built on open standards for capturing, storing, and analyzing terabytes of machine data in…
  • InfluxDB - InfluxDB is an open source time series database with no external dependencies.
  • Kibana - Kibana is the data visualization layer for querying, analyzing, and managing data stored in Elasticsearch.
  • New Relic - Pinpoint and solve performance issues in your Ruby, Java, .NET, PHP and Python apps with real user, application and server monitoring.
  • Prometheus - Prometheus is a systems and service monitoring system.
  • Splunk - Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
  • VictoriaMetrics - VictoriaMetrics is a fast, cost-effective, and scalable open-source time-series database that stores long-term monitoring metrics, accepts…

Checked 40 days ago - source: AlternativeTo

Common questions

What Docker settings are required for the exporter to access the GPU?

Run the container in privileged mode with the nvidia runtime, for example --privileged --runtime nvidia.

Where should the exporter be added in Prometheus?

Add the Unraid host IP with port 9202 as the scrape target. Metrics are served at /metrics.

Does the exporter support multiple GPUs?

Yes, the exporter supports multiple GPUs.

Are GPU metrics limited on a DGX Spark GB10?

GPU memory and process metrics may be limited on a DGX Spark GB10 because the GPU has no discrete VRAM.

Answers sourced from forums.developer.nvidia.com, github.com

Community

Collected 48 days ago - public community threads