A sentry extension integrates DingTalk robot webhook
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-xm
-
写入依赖文件
onpremise-xxx/sentry/requirements.txt
$ echo sentry-dingtalk-xm >> 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
File details
Details for the file sentry-dingtalk-xm-1.1.1.tar.gz
.
File metadata
- Download URL: sentry-dingtalk-xm-1.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0e6ad3ff9cf83ef70a15ef4f6bc7b3ca1135cbc9308ad5381283c6e8f07c4f |
|
MD5 | 20a54a0fc3acff09bada36433c5cd2af |
|
BLAKE2b-256 | 8a2db95a904e1a7dc9240502e922110ee00f21993193fc1758209d96733ee751 |
File details
Details for the file sentry_dingtalk_xm-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: sentry_dingtalk_xm-1.1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e85f485c7b0e356da7fb6bf210e4724525a2c71843356d40cbf4113842b48289 |
|
MD5 | 76d63f1c460f7c47f61d3e2a9aea8ac2 |
|
BLAKE2b-256 | 7a2e66a096394cd183ed23c6936c04a9dd9a901ea9197d213e1f6da2c75adc13 |