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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1584458008a47922f4c68f09fdcb97ab9d2ee7122437860470f9a83ae0fb7a35 |
|
MD5 | 682d1fe2704007bc3bb9174e7c10bb39 |
|
BLAKE2b-256 | 31147818dccad2890b6a6ec7b43a437663b439c821ce7cfc9b2fd9244f83b953 |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7679e44d6c8a14a49a078cef5613999feb9b30f8f08ed0f9c9bd9b6f1608ebff |
|
MD5 | 87deed7d312342d865d9d19fc8488629 |
|
BLAKE2b-256 | c6865cab69df9627beaaa5880c126e6668b04c8d3f4cd218b96c6cbe6d0ee659 |