Polls GPU information and reports it to Datadog.
Each GPU on the machine is reported separately, though not all GPUs support reporting all stats through the exposed APIs.
Only supports nVidia hardware though feel free to make a pull-request with support for other GPU manufacturers.
- Download and install the latest NodeJS
- Install the DataDog agent
- Clone the repo
- Ensure
nvidia-smi, usually located underC:\Program Files\NVIDIA Corporation\NVSMI, is available in yourPATH - Run
npm installfrom the repo base directory
| Variable | Default | Description |
|---|---|---|
| POLL_INTERVAL | 5000 | Polling interval in ms |
| STATSD_HOST | localhost | StatsD/DataDog agent host |
| STATSD_PORT | 8125 | StatsD port |
| STATSD_PREFIX | gpu. | Metric name prefix |
| NVIDIA_TIMEOUT | 10000 | nvidia-smi execution timeout in ms |
npm startSet environment variables before starting to override defaults:
STATSD_HOST=my-datadog-host npm startSee license file
