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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96e430be311e016e5d43aaf09817ececc39ed13d7b44677d58e12cad1378141 |
|
MD5 | 7541f763bfca89a228ed1ea33edd794d |
|
BLAKE2b-256 | 8034746ed511315570546949f8db0c90585da5a12a1171fafae25a8a5d0b1cde |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bbe8622765d23cb88b1bcbec5f24b9bae713ffc188fe5bfc4ba12986323264f |
|
MD5 | 45896b11f20c49163c4973906cc3fd2d |
|
BLAKE2b-256 | 41409e65dcaea357471a0e5b62a034be7847435274a3159849478f8847de35cd |