chaostoolkit / chaostoolkit-addons

Chaos Toolkit addons (tolerances, controls) that can benefit everyone

Home Page:https://chaostoolkit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Safeguard - Interval problem

roeiK-wix opened this issue · comments

First of all, let me say that safeguard working very well.

My team and I encounter a problem.
When we are running the safeguard on interval mode, we want the ability to count the number of times that we are executing each probe.
The reason for that is because we have a logging mechanism in each probe, and when we are executing those functions every few seconds, it's flooding the system with those logs.
But, we also want to log at least once.
So, our solution for that issue is if you will get as an argument (in the before_activity function) the amount of the execution of each probe, it will solve that problem.