I have three filters for my handler: is_incident, not_silenced, occurrences_3
However, I also want to receive alerts for resolution events, so I added an OR condition to is_incident: is_incident || is_resolution
After adding that, I’m getting alerts for all events including ‘ok’ events, which makes me believe events are not getting filtered by the is_incident filter anymore. How should I add the OR condition?
The is_incident filter will allow is_resolution events to pass through. That is documented here. I think your occurrences_3 filter may be causing your issue.
Might I suggest the fatigue check filter? It should allow what you are wanting to work, with the side benefit of being tunable per-check and entity based on annotations.