File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,28 @@ Give this a webhook (with the DISCORD_WEBHOOK environment variable) and point it
5
5
6
6
![ ] ( /.github/demo-new.png )
7
7
8
- Example alert manager config:
8
+ ## Warning
9
+
10
+ This program is not a replacement to alertmanager, it accepts webhooks from alertmanager, not prometheus.
11
+
12
+ The standard "dataflow" should be:
13
+
14
+ ```
15
+ Prometheus -------------> alertmanager -------------------> alertmanager-discord
16
+
17
+ alerting: receivers:
18
+ alertmanagers: - name: 'discord_webhook' environment:
19
+ - static_configs: webhook_configs: - DISCORD_WEBHOOK=https://discordapp.com/api/we...
20
+ - targets: - url: 'http://localhost:9094'
21
+ - 127.0.0.1:9093
22
+
23
+
24
+
25
+
26
+
27
+ ```
28
+
29
+ ## Example alertmanager config:
9
30
10
31
```
11
32
global:
You can’t perform that action at this time.
0 commit comments