Custom intervals provide you with more flexibility in configuring your alerts. While normal per-hour alerts are raised for the last hour stats, and
DIFF alerts on concurrent or EMA stats are raised based on stats for the last 30 minutes, custom intervals
allow you to compare any interval in the past to any other interval or sum up/average stats for an alerted value over several hours and compare to a threshold.
You can setup 2 types of intervals:
per-hour and
per-minute ones. Per-hour intervals will be applied to per-hour stats (bars on charts), and per-minute ones will be applied to Active call and
EMA stats (lines on charts).
- The two compared intervals are defined in hours/minutes in the Interval 1, hours/mins and Interval 2, hours/mins parameters. For DIFF alerts the system
compares two intervals, where Interval 1 is an earlier interval and Interval 2 is a later interval. For ABS alerts only the first interval is calculated
and compared to a set value.
- The distance between the intervals is defined in the Inter distance, hours/mins parameter. Not used for ABS alerts.
- The offset from the time of comparison/alert to the end of the 2nd (later) interval is defined in the Offset, hours/mins parameter.
- The frequency of interval comparison for per-hour parameters is determined in the Frequency, hours parameter.
- The frequency of interval comparison for per-minutes parameters is determined in the Frequency, minutes parameter.
- The Start hour, 24h GMT defines the time of the day when the system starts to compare per-hour intervals. So, when you are comparing intervals longer
than 1 hour, for instance, 6 hours, you may not want to check stats and (potentially) raise alerts every hour, but, rather, every 6 hours. This is controlled
by the Frequency, hours parameter. Also, you need to tell the system via the Start hour, 24h GMT parameter when to start checking for alerts every day.
If you have the Start hour as 2, and the Frequency as 6, stats will be compared at 2am, 8am, 2pm, and 8pm GMT.
- The Alert days define the days when the interval comparison should take place (1 - Monday, 7 - Sunday). This may be useful for longer intervals,
like comparing one week with another week, where you might want to set specific days when this comparison runs, in order not to get these alerts too often.
With the Frequency of 24 hours, the Start hour, 24h GMT as 20, and only Monday in Alert days - you will be having just one alert per week at
8pm on Monday.
The data available for comparisons when using per-minutes intervals is limited to the last 50 minutes to avoid excessive load to the system. If you need to compare parameters over longer periods, please use per-hour parameters
with per-hour custom intervals of up to 2 weeks.
You may choose the method of counting the values for the interval in the
Aggreg. type parameter: summing the values (
Sum) or averaging them (
Average).
The aggregation method is only meaningful if the interval spans across several hours or several minutes, as the system takes stats for every hour/minute and calculates the final result using
the selected method.
Please note that Alert intervals are valid only for the corresponding stats. If you assign a per-hour interval to a "current" parameter in the alerts configuration, the system will ignore the
interval and the parameter will be processed normally.
For example, if you want to compare incoming attempts within 4 hours taken with an offset of 3 more hours to the 4 hours a week ago and do it every second
hour on workdays the parameters should be as follows:
- Interval type - Per-hour.
- Aggreg. type - Average.
- Interval 1, hours/mins - 4.
- Interval 2, hours/mins - 4.
- Inter distance, hours/mins - 168.
- Offset, hours/mins - 3.
- Frequency, hours - 2.
- Start hour, 24h GMT - 0.
- Alert days - 1, 2, 3, 4, 5.
The resulting interval config is assigned to an alert in the
Custom interval parameter.
In order for the alert to be raised, the
Schedule
assigned to this alert should also be enabled at a specific hour. For instance, if you have a
Schedule set to be ON from 9am till 5pm GMT, the alert
from the above example will be checked for at 10am, 12am, 2pm and 4pm only, out of possible times of 2am, 4am, 6am, 8am, 10am, 12am, 2pm, 4pm,
6pm, 8pm, 10pm, 12pm GMT.
Here is an example of comparison of traffic for 2 adjacent 24 hour intervals.