utkuozdemir/nvidia_gpu_exporter
Nvidia GPU exporter for prometheus using nvidia-smi binary OR using NVML
What it solves
This tool provides a simple, consistent way to monitor NVIDIA GPU performance metrics for Prometheus, especially in environments where specialized datacenter tooling is unavailable or overkill. It bridges the gap for consumer-grade hardware, small clusters, and restricted environments by relying on the standard nvidia-smi utility or the native driver library.
How it works
By default, the exporter runs as a lightweight service that executes the nvidia-smi command to gather, parse, and export GPU statistics like utilization, memory usage, power, and temperature. It can also be configured to use a native NVML backend on Linux for deeper insights like error tracking and PCIe throughput. It supports running on Linux, Windows, and macOS, and can even be deployed in Docker or Kubernetes.
Who it’s for
It is ideal for homelab enthusiasts, edge computing setups, and developers using consumer GPUs (like GeForce/RTX) who need reliable monitoring without the complexity of the full NVIDIA GPU Operator stack. It is also well-suited for mixed-hardware fleets that require a unified monitoring approach.
Highlights
- Works on any system with
nvidia-smiinstalled, including Windows, Linux, and macOS. - Offers an optional native NVML backend for advanced metrics like MIG instances and XID error counters.
- Includes pre-built Grafana dashboards for both detailed per-GPU analysis and multi-GPU overviews.
- Features a "demo mode" to generate realistic synthetic metrics for testing without needing actual hardware.
- Supports remote execution of
nvidia-smicommands, allowing you to monitor GPUs without running the exporter on the host machine itself.
Related
- Project
- Project
- Project
- Project
- Project