Skip to content

Commit fa583bd

Browse files
committed
settings
1 parent 681cc3e commit fa583bd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/e2e-v2/cases/alarm/alarm-settings.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ rules:
4343
tags:
4444
level: CRITICAL
4545
receivers: zhangsan
46+
baseline_rule:
47+
expression: sum(service_resp_time > baseline(service_resp_time,upper)) >= 1
48+
period: 10
49+
message: Response time of service {name} is more than baseline in 1 minutes of last 10 minutes.
50+
tags:
51+
level: CRITICAL
52+
receivers: zhangsan
53+
hooks:
54+
- webhook.none
4655

4756
hooks:
4857
webhook:

0 commit comments

Comments
 (0)