A sentry extension integrates DingTalk robot webhook forked from Henryhaoson/sentry-dingtalk
Project description
Sentry DingTalk
Sentry 集成钉钉机器人通知
Requirments
- sentry >= 21.5.1
特性
- 发送异常通知到钉钉
- 支持钉钉机器人webhook设置关键字
- 配置环境变量
- DINGTALK_WEBHOOK: Optional(string)
- DINGTALK_CUSTOM_KEYWORD: Optional(string)
快速使用
安装
-
使用
pip
命令$ pip install sentry-dingtalk-henryhaoson
-
写入依赖文件
onpremise-xxx/sentry/requirements.txt
$ echo sentry-dingtalk-henryhaoson >> requirements.txt
钉钉机器人
配置钉钉机器人并拿到对应的 webhook, 可以对机器人设置 关键词、签名、IP限制
配置
在 Sentry 面板 Settings > Integrations 中找到 DingTalk 并配置 webhook、关键词等信息,添加项目,创建告警规则
测试
- Enable Plugin
- Test Plugin
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sentry-dingtalk-henryhaoson-2.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dae26f3cb8ba99626f3fbf9ae533ab1a2df185a72447f67649c148b107fef58 |
|
MD5 | 84129c76b3777025f631bc69856bc7d8 |
|
BLAKE2b-256 | ffa244eb62f41a0eca013bae08205c00e0f31a3195a9b7ce86c66dae8aa9683c |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da0d6f27239be271c777144fe8590bddebb540079b8b51401fe411cf101f0867 |
|
MD5 | 577ff880da83632d64778301770c476c |
|
BLAKE2b-256 | c1ee724b53788ca9ca3a4a484599ad13f76d7d0e3b0e2c009829b52b4fdcca87 |