This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
[BUG] {{period_start}} and {{period_end}} seems not respected #389
Labels
bug
Something isn't working
Describe the bug
To receive error log messages, I created an alert using below query and run it on every minutes as mentioned in #187.
Extraction query:
Trigger message template:
Question1:
It seems work well, but I got two consecutive emails for one error log.
At 2021-08-17T18:52:
And at 2021-08-17T18:53:
The second email is weird as the matched result is out of time range (2021-08-17T18:52:30.629Z - 2021-08-17T18:53:30.629Z) and is already captured by the first email.
Question2:
As far as I know,
{{period_end}}
is set to the time when the monitor runs and{{period_start}}
is evaluated by{{period_end}}
minus interval.Is it possible that an event is not captured by neither or two consecutive monitor runs?
For example, one monitor runs with period (2021-08-17T18:51:30.629Z - 2021-08-17T18:52:30.629Z)
and the next period runs with period (2021-08-17T18:52:30.929Z - 2021-08-17T18:53:30.929Z)
so that an event occurred at 2021-08-17T18:52:30.800Z is not captured by neither of monitors.
Can this scenario happen?
Other plugins installed
No.
To Reproduce
As explained in
Bug
section.Expected behavior
Each monitor trigger's time range should not overlap.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: