File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ IGNORE_PUBLISHERS=BINANCE
25
25
# Prometheus
26
26
TELEGRAM_TOKEN =
27
27
OPSGENIE_API_KEY =
28
+ SLACK_API_URL =
28
29
29
30
# Server PORT
30
31
PORT = 8080
Original file line number Diff line number Diff line change 1
1
global :
2
2
resolve_timeout : 5m
3
+ slack_api_url : " ${{SLACK_API_URL}}"
3
4
4
5
route :
5
6
# When a new group of alerts is created by an incoming alert, wait at
@@ -41,13 +42,23 @@ route:
41
42
severity : critical
42
43
continue : true
43
44
45
+ - receiver : " Slack-internal"
46
+ group_wait : 10s
47
+ match_re :
48
+ severity : warning
49
+ continue : true
50
+
44
51
receivers :
45
52
- name : " internal-warning"
46
53
telegram_configs :
47
54
- bot_token : " ${{TELEGRAM_TOKEN}}}}"
48
55
chat_id : -1001904637278
49
56
parse_mode : " HTML"
50
57
message : ' {{ template "telegram.default.message" . }}'
58
+ - name : " Slack-internal"
59
+ slack_configs :
60
+ - channel : " #internal-warning"
61
+ send_resolved : false
51
62
- name : " internal-critical"
52
63
opsgenie_configs :
53
64
- api_key : " ${{OPS_GENIE_API_KEY}}"
You can’t perform that action at this time.
0 commit comments