Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

How to exclude weekends from alerts?

Avatar

Level 4

I have seen this question dated back to 2015, and at the time the answer was "you can't".

I am hoping now with the intelligent alerts we can.

I tried to use the "Weekday/weekend" dimension, but not quite sure it works. Is there an obvious solution I am missing?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

still "no".... sorry.

what I have done is a "workaround" with a calculated metric and a segment for only "weekday" traffic.

it looks something like this:

{if (segment: weekday => "occurencies") greater than  (static number: "0") then [your-metric] else (static number: "0"}

the calculated metric will only return [your-metric] for weekdays, weekends are always 0. this is just to hope that the anomality detection will recognise the 0 as "no anomality" and therefore do not send an alert on weekends...

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

still "no".... sorry.

what I have done is a "workaround" with a calculated metric and a segment for only "weekday" traffic.

it looks something like this:

{if (segment: weekday => "occurencies") greater than  (static number: "0") then [your-metric] else (static number: "0"}

the calculated metric will only return [your-metric] for weekdays, weekends are always 0. this is just to hope that the anomality detection will recognise the 0 as "no anomality" and therefore do not send an alert on weekends...

Avatar

Level 4

Thanks Ursboller,

Makes sense logically. I actually do see a dimension "Weekday/Weekend" which has 2 values: "weekend" and "weekday".

If I apply "weekday" as a segment, it automatically updates any metric for the weekend to 0.

I have implemented this segment as a filter for my traffic change alert and am waiting to see if I get an alert this weekend.

Avatar

Community Advisor

I suggest you setup 2 alerts, one alert with segment applied, one without. this way you can see the difference...