A sentry extension integrates DingTalk robot webhook forked from Jedore/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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc90f52877300daebddfaaa299aca3a6aac862cd801990bce508ae90edbd61e8 |
|
MD5 | af5a7c2fae475975340f85b7a5a821b5 |
|
BLAKE2b-256 | 21dd918e1815f14d4fdc09dc1a9427bb59837047f8a5430ff9f9a8a62944ac91 |
Close
Hashes for sentry_dingtalk_henryhaoson-2.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1c98dbd0f2f827d947495bf94059e3f335dbbe64f4eb7babe19c768a4abc44 |
|
MD5 | 6d1689f1a002e10396814848ca40737f |
|
BLAKE2b-256 | 65e2da82186be540ddb6eb3eef403bb0e7467a0e1ac80a22faec334fed889f9d |