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-notify
-
写入依赖文件
onpremise-xxx/sentry/requirements.txt
$ echo sentry-dingtalk-notify >> 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-notify-1.0.0.tar.gz
.
File metadata
- Download URL: sentry-dingtalk-notify-1.0.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 733a63907b7da2d61f1b1b4b7bc844be12e45978a5eaeb89996f60211463fd46 |
|
MD5 | a2895161233d37c75a762eadbb0b1976 |
|
BLAKE2b-256 | f19891f405ac459550556f63a45aaf9cab5365e1230d5e523048b070aad01eb3 |
File details
Details for the file sentry_dingtalk_notify-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: sentry_dingtalk_notify-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebc18183e7c66481f95657a6314eb396ffd58e9e0fa7e55a1d72840460dde832 |
|
MD5 | 3ff8cbeb23cf89a4b3b0eb0c8bfb4468 |
|
BLAKE2b-256 | c3fd97a72ce8aecc4fde24c440b954b8c3ee0894d20903ae4e90b468fd3f18bb |