Giter Club home page Giter Club logo

jetson-stats-grafana-dashboard's People

Contributors

svcavallar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jetson-stats-grafana-dashboard's Issues

jetson_stats_prometheus_collector.py fails with error on line 54

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...

Setting DS_MY_PROMETHEUS

I'm unclear about what is required for step 2 of the Grafana Dashboard Panel setup instructions:

  1. Open the file jetson_stats_grafana_dashboard.json and update the __inputs entry for the DS_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"?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.