Skip to content

docs: update readme.md #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,16 @@ targets:
mobiles: ['156xxxx8827', '189xxxx8325']
```

### Alertmanager

```
receivers:
- name: "default_receiver"
webhook_configs:
- url: "http://localhost:9567/webhook"
- url: "http://localhost:8060/dingtalk/webhook1/send"
```

[Prometheus]: https://prometheus.io
[AlertManager]: https://github.com/prometheus/alertmanager
[DingTalk]: https://www.dingtalk.com
6 changes: 3 additions & 3 deletions config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
## Targets, previously was known as "profiles"
targets:
webhook1:
url: https://oapi.dingtalk.com/robot/send?access_token=86940410bc5c5a43e7c57f2cea6f1c186bcbc16db87f2a006a7b969aae2bb2b6
url: https://oapi.dingtalk.com/robot/send?access_token=86940410bc5c5a43e7c57f2cea6f1c186bcbc16db87f2a00xxxxxx
webhook2:
url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d6493921-e728-432b-bf65-560b98a2f275
url: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=d6493921-e728-432b-bf65-xxxxxx
webhook3:
url: https://open.larksuite.com/open-apis/bot/v2/hook/a44c7c63-4fd2-4625-87ce-ac4f7c639688
url: https://open.larksuite.com/open-apis/bot/v2/hook/a44c7c63-4fd2-4625-87ce-xxxxxx
Loading