Sentry 钉钉机器人插件
- 发送异常信息至钉钉机器人
- 本插件可兼容 Sentry 自身限流功能
- 可通过
docker-compose logs -f查看插件日志信息 (例如使用 onpremise 部署)
安装
$ pip install sentry_dingtalk_ihoey
使用
在 项目 的集成(Legacy Integrations)页面找到 钉钉机器人 插件启用并设置 Access Token
参照仓储
发布流程
生成包
先确保已经安装了最新版本的 setuptools, wheel, twine
pip install --user --upgrade setuptools wheel twine
生成项目包:
python setup.py sdist bdist_wheel
发布
使用 twine 发布:
python -m twine upload dist/*
Release files for sentry-dingtalk-ihoey 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sentry-dingtalk-ihoey-1.0.7.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sentry_dingtalk_ihoey-1.0.7-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 8.5 kB
Release files / sentry-dingtalk-ihoey-1.0.7.tar.gz
| Download URL | sentry-dingtalk-ihoey-1.0.7.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c48d4aec915fc3f71dd5bf054cae3bee1f6b16292284a42ae099195b21b7b46
|
|
BLAKE2b-256 checksum How to use checksums |
a07daf08239b1ed827ad9044b2903a4b29c76e8c8628cab3d9eab88a109f3922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.16
|
Release files / sentry_dingtalk_ihoey-1.0.7-py2-none-any.whl
| Download URL | sentry_dingtalk_ihoey-1.0.7-py2-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
103f2f2e8fefefcfedee48f48ccba2dfe503e563c4b2e172651c38f08ffc412a
|
|
BLAKE2b-256 checksum How to use checksums |
45454a4a9f09bdb45df53e847ed067607c8fc013dbef1686681dcaaa79d58c6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/2.7.16
|