Fix wazuh-metrics
for reconnecting daemons using multiprocessing
#2401
Labels
tool/wazuh-metrics
Development that involves modifying the wazuh-metrics script/tool
In #2258, we adapted the
wazuh-metrics
CLI to allow monitoring child processes as multiprocessing was implemented for the Wazuh API and cluster.However, with the current design it was not possible to keep monitoring said processes if they restarted:
wazuh-qa/deps/wazuh_testing/wazuh_testing/tools/performance/binary.py
Lines 177 to 190 in eb32b09
This is needed now as it is not compatible with our API performance tests due to their restart endpoints:
api.log
A rework of both the CLI and the
Monitor
class is needed to solve this.The text was updated successfully, but these errors were encountered: