Skip to content

Commit

Permalink
feature: 异常通知的收敛/抑制能力 TencentBlueKing#205
Browse files Browse the repository at this point in the history
  • Loading branch information
wadema committed Sep 16, 2021
1 parent 59c3ea1 commit 2153a8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,3 @@ job:
service:
private-key-base64: ${job.security.private-key-base64}
public-key-base64: ${job.security.public-key-base64}

notification-policy:
failed:
#连续启动失败通知策略:默认 连续失败只通知第一次 begin = 1;frequency = 1;totalTimes = 1
start:
#通知开始:默认 1 - 从第一次失败开始通知
begin: 1
#通知频率:默认 1 - 每次通知,2 - 每2次通知
frequency: 1
#通知次数:默认 1 - 只通知1次,0 - 不通知,-1 - 不限制通知次数
totalTimes: 1
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ job:

notification-policy:
failed:
#连续启动失败通知策略:默认 连续失败只通知第一次 begin = 1;frequency = 1;totalTimes = 1
#连续启动失败通知策略:默认 从第一次失败开始,连续失败每5次通知第一次 begin = 1;frequency = 5;totalTimes = -1
start:
#通知开始:默认 1 - 从第一次失败开始通知
begin: 1
#通知频率:默认 1 - 每次通知,2 - 每2次通知
frequency: 1
#通知次数:默认 1 - 只通知1次,0 - 不通知,-1 - 不限制通知次数
totalTimes: 1
#通知频率:默认 5 - 每5次通知, 1 - 每次通知
frequency: 5
#通知次数:默认 -1 - 不限制通知次数, 0 - 不通知, 1 - 只通知1次,
totalTimes: -1

0 comments on commit 2153a8f

Please sign in to comment.