17d5758923
The new raslib fields are added to RDC for dmon.
* The rdc_field.data, rdc.h and rdc_bootstrap.py are changed
for new fields.
* The RDC_FI_ECC_CORRECT_TOTAL and RDC_FI_ECC_UNCORRECT_TOTAL are
removed from RdcSmiLib.cc, and will be gotten from raslib.
Change-Id: I4ee016e3d52e9d38b54406ca129da511f741c6d6
[ROCm/rdc commit: 81ad23343c]
- 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.