-
Condition 1:
If the check fails fewer times than the defined number of ["fatigue_check/occurrences"], no resolved alert should be sent. — Works -
Condition 2:
If the check fails equal to or more than the defined ["fatigue_check/occurrences"], then a resolved alert should be sent upon a successful resolution of the check.
I see that Condition 2 (where a resolved alert should be sent after the number of failures equals or exceeds the defined occurrences) is not being satisfied.
we need to ensure that the logic accurately counts failures and then triggers a resolved alert after the failures meet or exceed the threshold.