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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb44883f9cc6a149be3e789022b2e0bc2775e7ff0849f248c8ca07557adaab7f |
|
MD5 | d517c92b7683abc926a898d206a624a2 |
|
BLAKE2b-256 | e681d7db56da4ea5396c3066a3e4673bbef0acc299f50a5e632b374da541e0b3 |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8124d902f1a5a15041bf44d58640ff1f6fe1b88ecc1157671c75d24d3b64a279 |
|
MD5 | 3cd94aa5145c11d7de429acfaa69d37c |
|
BLAKE2b-256 | fb866232155a943b4d11fc40c8ce0658977d5a1b84652c3d63d355697d593ebc |