The collectd plugin for RDC

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
This commit is contained in:
Bill(Shuzhou) Liu
2020-10-26 15:51:48 -04:00
parent 0030f27ff8
commit bb6d98b036
2 changed files with 116 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
<Plugin python>
ModulePath "/opt/rocm/rdc/python_binding"
LogTraces true
Interactive false
Import "rdc_collectd"
<Module rdc_collectd>
# Run RDC in embedded mode (default: standalone mode)
embedded false
# The rdcd IP and port in standalone mode (default: localhost:50051)
rdc_ip_port "localhost:50051"
# Set this option if the rdcd is running with unauth in standalone mode (default: false)
unauth false
# The list of fields name needs to be watched (default: fields in the plugin), for example
# field_ids "RDC_FI_GPU_TEMP" "RDC_FI_GPU_CLOCK"
# The fields update frequency in seconds (default: 10)
update_freq 10
# The max keep age of the fields in seconds (default: 3600)
max_keep_age 3600
# The max samples to keep for each field in the cache (default: 1000)
max_keep_samples 1000
# The list of GPUs to be watched (default: All GPUs), for example
# gpu_indexes 0 1
</Module>
</Plugin>