svcavallar / jetson-stats-grafana-dashboard Goto Github PK
View Code? Open in Web Editor NEWA Grafana dashboard driven by a Prometheus metrics collector for monitoring NVIDIA Jetson devices
License: MIT License
A Grafana dashboard driven by a Prometheus metrics collector for monitoring NVIDIA Jetson devices
License: MIT License
System is running Ubuntu server LTS 18.04 with python 3.6 and running jtop from jetston_stats I do get a working jtop.
I went as far as adding a debug print in there to dump what is being pulled up and my initial review didnt spot anything missing but python isnt a strong point and the Xavier unit is a custom which may be adding to the confusion.
Debug: self._jetson.board = {'hardware': {'Model': 'Transport XCB', '699-level Part Number': '699-82888-0004-400 G.0', 'P-Number': 'p2888-0004', 'Module': 'NVIDIA Jetson AGX Xavier (32 GB ram)', 'SoC': 'tegra194', 'CUDA Arch BIN': '7.2', 'Serial Number': '0420319084239', 'L4T': '32.5.1', 'Jetpack': '4.5.1'},
'platform': {'Machine': 'aarch64', 'System': 'Linux', 'Distribution': 'Ubuntu 18.04 Bionic Beaver', 'Release': '4.9.201-32.5.0_C01571-19S00A00.001.img+e443483e8c+ge443483e8c9c', 'Python': '3.6.9'},
'libraries': {'CUDA': '10.2.89', 'OpenCV': '4.1.1', 'OpenCV-Cuda': False, 'cuDNN': '8.0.0.180', 'TensorRT': '7.1.3.0', 'VPI': '1.0.15', 'Vulkan': '1.2.70'}}
Error being seen is as follows
Traceback (most recent call last):
File "./jetson_stats_prometheus_collector.py", line 192, in
REGISTRY.register(CustomCollector())
File "/usr/local/lib/python3.6/dist-packages/prometheus_client/registry.py", line 40, in register
names = self._get_names(collector)
File "/usr/local/lib/python3.6/dist-packages/prometheus_client/registry.py", line 80, in _get_names
for metric in desc_func():
File "./jetson_stats_prometheus_collector.py", line 54 in collect
'Machine': self._jetson.board['info']['machine'],
KeyError: 'info'
Closing jetson-stats connection...
I'm unclear about what is required for step 2 of the Grafana Dashboard Panel setup instructions:
- Open the file
jetson_stats_grafana_dashboard.json
and update the__inputs
entry for theDS_MY_PROMETHEUS
value and save the file
nvidia-jetson_rev1.json
as downloaded from grafana.com
contains:
"__inputs": [
{
"name": "DS_MY_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
What should that look like after step 2, "update the __inputs
entry"?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.