This project is a Grafana dashboard, driven by a Prometheus metrics collector, for monitoring NVIDIA Jetson Nano operating autonomously in a headless fashion.
The following hardware and software should already be configured and operational:
- NVIDIA Jetson device
- A host running Grafana
- A host running Prometheus
-
Install dependencies in 'requirments.txt' file
-
Next, install the collector with 'install.sh' bash script
nvidia@agx-desktop $ sudo bash install.sh
Note: The Prometheus metrics collector listens on port 8000
by default. If you wish to change this you will need to edit the jetson_stats_prometheus_collector.service
file and change the --port
argument to your required port number.
-
Open the Prometheus config:
$ sudo nano /etc/prometheus/prometheus.yml
-
Add metrics collection job config for the Jetson device
scrape_configs: - job_name: 'nvidia_jetson' static_configs: - targets: ['JETSON_HOST_IP:JETSON_PROMETHEUS_COLLECTOR_PORT']
-
Restart the Prometheus service for the changes to take effect
$ sudo systemctl restart /etc/systemd/system/prometheus.service
-
From the Grafana Admin Dashboard select
+Create
->Import
-
Open the file
jetson_stats_grafana_dashboard.json
and change the__inputs
entry for theDS_MY_PROMETHEUS
value to your prometheus name and save the file -
Next, copy and paste the contents of modified
jetson_stats_grafana_dashboard.json
into the text box namedImport via panel json
or select the file using theUpload JSON file
button -
The
jetson-stats-grafana-dashboard
should now be available