Skip to content

Commit

Permalink
process-monitor: Exclude health monitors.
Browse files Browse the repository at this point in the history
These processes do not normally contribute much and only make graphs
more crowded and harder to navigate.

Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
igsilya committed Mar 26, 2024
1 parent 1156f9c commit 6c979d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovn-fake-multinode-utils/process-monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def monitor(suffix: str, out_file: str, exit_file: str) -> None:
for p in psutil.process_iter():
if any(name in p.name() for name in process_names):
processes.add(p)
elif any(
elif p.name() != 'monitor' and any(
name in part
for part in p.cmdline()
for name in process_names
Expand Down

0 comments on commit 6c979d0

Please sign in to comment.