How to exclude weekends from alerts? | Community
Skip to main content
vickyg28253246
Level 3
February 26, 2019
Solved

How to exclude weekends from alerts?

  • February 26, 2019
  • 3 replies
  • 3140 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Urs_Boller

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...

3 replies

Urs_Boller
Community Advisor
Urs_BollerCommunity AdvisorAccepted solution
Community Advisor
February 26, 2019

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...

vickyg28253246
Level 3
February 26, 2019

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.

Urs_Boller
Community Advisor
Community Advisor
February 27, 2019

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