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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 840c54c366ba1202840379b69ff24a005c4bd039c306f28fd0474850ccb1581a |
|
MD5 | 11c4e06e995cec040297900afb655f8d |
|
BLAKE2b-256 | af84372ab7e9d21482924894f0672f79d42601fc1a6df816aa826f9feb02ad3e |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd44bae840cb6eddd438803738e595b1fbbe6e82a4e762399232dc9bec326a54 |
|
MD5 | 1cdccde7e3c9ba09ed602945191b61b4 |
|
BLAKE2b-256 | 044e05f8de2910e56190d4836fecc8dae6ddb28e6909ee7b64148bdeff50b5cc |