AlertManager配置参数解析

tech2026-08-09  1

resolve_timeout(5m)

定义了当AlertManager持续多长时间未接收到告警后标记告警状态为resolved(已解决)。该参数的定义可能会影响到告警恢复通知的接收时间。默认为5M。

repeat_interval

如果警报已经成功发送通知, 如果想设置再次发送该告警通知之前要等待的时间,则可以通过repeat_interval参数进行设置。 # How long to wait before sending a notification again if it has already # been sent successfully for an alert. (Usually ~3h or more). [ repeat_interval: <duration> | default = 4h ] 鸭子哥的翻译 --如果一个通知已经发送过一次了 --再次发送该通知需要等待的时间

group_wait (10s)

有的时候为了能够一次性收集和发送更多的相关信息时,可以通过group_wait参数设置等待时间如果在等待时间内当前group接收到了新的告警,这些告警将会合并为一个通知向receiver发送。 How long to initially wait to send a notification for a group of alerts. Allows to wait for an inhibiting alert to arrive or collect more initial alerts for the same group. (Usually ~0s to few minutes.) [ group_wait: <duration> | default = 30s ] initially:初始 inhibiting :抑制 arrive:到达 亚子哥翻译: --一组告警发送一个通知的初始等待时间。这组告警发送过通知呢???? --从而使这个分组能收集到更多的抑制告警、初始告警 --通常是0s--几分钟,默认30s

group_interval(15s)

用于定义相同的Gourp之间发送告警通知的时间间隔。 How long to wait before sending a notification about new alerts that are added to a group of alerts for which an initial notification has already been sent. (Usually ~5m or more.) [ group_interval: <duration> | default = 5m ] 鸭子哥的翻译 --对于已经发送过通知的告警组 --如果有新的alert加入该告警组 --则该告警组需要等待group_interval时间再发送通知
最新回复(0)