升级到5.14.4后告警不符合预期 #1339
shenghuofei
started this conversation in
General
Replies: 1 comment
-
在写入屏蔽规则时,没有自动更新update_at,然后如果在9s内删一条加一条,就会导致同步屏蔽规则时,认为是没更新(alert mutes not changed),数据库alert_mute的update_at字段要加上DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
从日志看明显感觉是有问题的,60秒执行一次,连续180秒满足条件才报警,结果第一次满足就报警了,first_trigger_time=1672305855 (2022-12-29 17:24:15),2022-12-29 17:24:17 就报警了,从这里也能看出告警规则信息
告警规则:

历史告警截图:



即时查询结果:
16:24之前虽然也是满足告警条件的,但是在屏蔽中
所以trigger_time=first_trigger_time=1672305855 (2022-12-29 17:24:15)
Beta Was this translation helpful? Give feedback.
All reactions