Skip to main content

Sentry DingTalk

Sentry 集成钉钉机器人通知

Requirments

  • sentry >= 21.5.1

特性

  • 发送异常通知到钉钉
  • 支持钉钉机器人webhook设置关键字
  • 配置环境变量
    • DINGTALK_WEBHOOK: Optional(string)
    • DINGTALK_CUSTOM_KEYWORD: Optional(string)

快速使用

安装

  1. 使用 pip 命令

    $ pip install sentry-dingtalk-henryhaoson
    
  2. 写入依赖文件 onpremise-xxx/sentry/requirements.txt

    $ echo sentry-dingtalk-henryhaoson >> requirements.txt
    

钉钉机器人

配置钉钉机器人并拿到对应的 webhook, 可以对机器人设置 关键词、签名、IP限制

配置

在 Sentry 面板 Settings > Integrations 中找到 DingTalk 并配置 webhook、关键词等信息,添加项目,创建告警规则

测试

  1. Enable Plugin
  2. Test Plugin

Metadata

Release files for sentry-dingtalk-henryhaoson 3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentry-dingtalk-henryhaoson 3
File Size Uploaded
sentry-dingtalk-henryhaoson-3.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sentry-dingtalk-henryhaoson 3
File Interpreter ABI Platform
sentry_dingtalk_henryhaoson-3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.5 kB

Release files / sentry-dingtalk-henryhaoson-3.tar.gz

Download URL sentry-dingtalk-henryhaoson-3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
82a27a6f351a034fdf0b6ef0633302d7e73bb2ac16044209cc7d1b46ea152695
BLAKE2b-256 checksum
How to use checksums
72b4a0ee74805a0d117e66bf233c0f0e2e95c823b4734b78905061cbd36589d7
Upload date
Uploaded using Trusted Publishing?
What is 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.5

Release files / sentry_dingtalk_henryhaoson-3-py2.py3-none-any.whl

Download URL sentry_dingtalk_henryhaoson-3-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1869b06ffafd154cdaf624329f416de71d88fa42c19668dd7564354450efcdfb
BLAKE2b-256 checksum
How to use checksums
a0d0447bd83ad34512bfa6b7105f3470f64a9a27ae83348c1c5cc125795c3a8e
Upload date
Uploaded using Trusted Publishing?
What is 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.5

Release history Release notifications | RSS feed

9.0.0

2 release files

8.0.0

2 release files

7.0.0

2 release files

6.0.0

2 release files

5.0.0

2 release files

4.0.0

2 release files

This release

3 This release

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page