forked from p15670423/monkey
Update docs/content/development/adding-system-info-collectors.md
Co-authored-by: Shreya Malviya <shreya.malviya@gmail.com>
This commit is contained in:
parent
764f5940d8
commit
00426c6ef2
|
@ -102,4 +102,4 @@ Also, you can add the Collector to be used by default by adding it to the `defau
|
||||||
|
|
||||||
1. Add a process function under `monkey_island/cc/telemetry/processing/system_info_collectors/{DATA_NAME_HERE}.py`. The function should parse the collector's result. See `processing/system_info_collectors/environment.py` for example.
|
1. Add a process function under `monkey_island/cc/telemetry/processing/system_info_collectors/{DATA_NAME_HERE}.py`. The function should parse the collector's result. See `processing/system_info_collectors/environment.py` for example.
|
||||||
|
|
||||||
2. Add that function to the dispatcher - `monkey_island/cc/services/telemetry/processing/system_info_collectors/system_info_telemetry_dispatcher.py`.
|
2. Add that function to `SYSTEM_INFO_COLLECTOR_TO_TELEMETRY_PROCESSORS` under `monkey_island/cc/services/telemetry/processing/system_info_collectors/system_info_telemetry_dispatcher.py`.
|
||||||
|
|
Loading…
Reference in New Issue