for: '0s'
resulting in ignored group_wait
?
#4286
-
I'm not 100% sure if this is what's happening, but... Is it expected that if
I've been doing some testing with
My route looks like this:
I'm using vmalert with a 15s evaluation interval. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I wonder if it's possibly because the alert is never in a |
Beta Was this translation helpful? Give feedback.
-
Example logs where it happens when
I have 2 vmalert servers sending alerts to all 3 alertmanagers. |
Beta Was this translation helpful? Give feedback.
I believe what's happening is the
group_interval
timer (30s) is in phase with the evaluation interval (15s). As30s
and15s
are both multiples of15
, thegroup_interval
sometimes occurs at the exact same time as the alert is sent, causing a notification to be sent immediately. Remember that thegroup_interval
timer is not relative to the alert, but it's a recurring timer for the alert group as a whole. In between the alert resolving and firing again, the timer is still counting down.I wrote up a blog post that explains how these timers work if it helps Group wait, Group interval and Repeat interval explained.