You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/10/14 12:52:01 UTC
[GitHub] [skywalking] yangyiweigege commented on issue #9788: [Bug] Alarm Rule Warn is not accurate
yangyiweigege commented on issue #9788:
URL: https://github.com/apache/skywalking/issues/9788#issuecomment-1278968310
> All time buckets for alerting and moving windows should be in minutes actually. I am not sure why this happens, could you explain more?
endTime is changed in org.apache.skywalking.oap.server.core.alarm.provider.RunningRule.Window#moveTo ,and moveTo is called by two method,one is org.apache.skywalking.oap.server.core.alarm.provider.RunningRule.Window#add, another is
org.apache.skywalking.oap.server.core.alarm.provider.RunningRule#moveTo.
when org.apache.skywalking.oap.server.core.alarm.provider.RunningRule#moveTo is called by schedule task, the endTime will be updated,and the value contains seconds,like 20221014174301, code in org.apache.skywalking.oap.server.core.alarm.provider.AlarmCore#start:
<img width="1248" alt="image" src="https://user-images.githubusercontent.com/23202824/195851375-f6c1d0a1-4b59-4593-a9af-12c3a34026e9.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org