121f5617fe
Two files are added to the python_binding folder:
* The rdc_collectd.py is a collectd plugin to store the RDC
metrics to the collectd round robin database.
* The rdc_collectd.conf is a configure file which can control
which fields to collect, how frequently the fields can be collected
and run the plugin in embedded mode.
Change-Id: Ief44d004376ca8a82ed0d8ad36805243acb47080
[ROCm/rdc commit: bb6d98b036]
- Quick start If you do not have the RDC installed, please specify the RDC library path using: export LD_LIBRARY_PATH=<rdc_libs_path>
Then you can run RdcReader in python_binding folder: python RdcReader.py
- Prometheus plugin Install the prometheus_client: % pip install prometheus_client
Start the rdcd with auth and then run plugin to connect to it: % python rdc_prometheus.py
Check the options of the plugin: % python rdc_prometheus.py --help
Verify the plugin is running: % curl localhost:5000
In the managment computer, install the Prometheus from https://github.com/prometheus/prometheus
Modify the file prometheus_targets.json to add the compute nodes running the plugin. Start the Prometheus % prometheus --config.file=
Browse to localhost:9090 in the managment computer for metrics from RDC.