753d5fed6d
The framework now supports watch() and unwatch(), which can be used
by the telemetry library to init events or pre-fetch fields when recording
starts.
* A new header file RdcTelemetryLibInterface.h is defined for library to
include it.
* The RdcWatchTable will not talk to RdcMetricFetcher directly anymore.
It will call the framework watch/unwatch to dispatch it to the libraries.
* Make the python binding consistent with the current code.
Change-Id: Ie5731d920ed5928f901369d60c23bd450807a562
[ROCm/rdc commit: 151520b97e]
- 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.