Skip to content

Commit df21563

Browse files
committed
Explain better how this fits into the prometheus stack
1 parent d9ee4ef commit df21563

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,28 @@ Give this a webhook (with the DISCORD_WEBHOOK environment variable) and point it
55

66
![](/.github/demo-new.png)
77

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:
930

1031
```
1132
global:

0 commit comments

Comments
 (0)