Want to scrape Memory & GPU utilization metrics using NVML & exposes them to Prometheus through a simple HTTP server and/or a push gateway- All in a Docker container???? Then you have come to the right place.
- Install NVIDIA-DOCKER
- A System with NVIDIA GPU Card.
Execute the commands as shown below:
docker-compose up -d
The above command will start pushgateway, prometheus & Grafana.
docker-compose kill
Docker args work the same way as with docker-compose.
python gpu_metrics_exporter.py