Mix use of `all` and `any` for Alert Rule


#1

Hello,

I am trying to config alert rules for our project. I know we could use all and any features which means and and or logic for multiple rules. But I could not find out how to use the combination of them.

What I want is:

Any of (Rule 1, Rule 2) And (Rule 3)

For example:

Any of (an issue is first seen, or an issue is seen more then 10 times in 1 hour) And (event’s exception is not RecordNotFound)

Any ideas or suggestions?

Cheers. Thanks a lot.

Zhichao.


#2

There’s no way to do this today. Your only real option is to create a second rule.

Note: The alerts system will debounce and aggregate rules together, so if you hit multiple matches it’ll only take each action once.