How to install it and integrate with prometheus? #336
-
I would like to scale HPA based on GPU utilization so for that, i need to send GPU metrics to prometheus |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi there :) I faced a similar challenge and wanted to share the steps that worked for me:
For me, these steps worked flawlessly!
To dive deeper, you can test specific metrics, like this: curl -G 'http://localhost:9090/api/v1/query' --data-urlencode 'query=nvidia_smi_memory_used_bytes' | jq To wrap it all up, you can import the pre-configured dashboard from the provided repository into Grafana. This should make visualizing your metrics seamless. Just make sure to set up Prometheus ( Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi there :)
I faced a similar challenge and wanted to share the steps that worked for me:
Install Prometheus
Use the following command:
Install the latest version of the nvidia_gpu_exporter
Download the package and install it via:
Verify that Prometheus and the nvidia_gpu_exporter are running
Check their status with:
Update Prometheus configuration
Add the following job to your
/etc/prometheus/prometheus.yml
file:Note: …