Skip to main content

Sentry DingTalk

Sentry 集成钉钉机器人通知

Requirments

  • sentry >= 21.5.1

特性

  • 发送异常通知到钉钉
  • 配置 @ 成员,逗号分隔
  • webhook optional 可以配置一个额外的 webhook,但是会抹除 @信息

快速使用

安装

  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-byguonh 2

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-byguonh 2
File Size Uploaded
sentry-dingtalk-byguonh-2.tar.gz 5.8 kB Details

Built distribution (wheel)

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

Total release size: 11.0 kB

Release files / sentry-dingtalk-byguonh-2.tar.gz

Download URL sentry-dingtalk-byguonh-2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c4238a2a5eada883c4b29f5d837dc2fe18a517bd0315b6f5a0b283a5f8979762
BLAKE2b-256 checksum
How to use checksums
a73734526ba5f61d4a7e2ca2f544dcacd19504f8b2f4edfe2e1150ee4bfeab5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / sentry_dingtalk_byguonh-2-py3-none-any.whl

Download URL sentry_dingtalk_byguonh-2-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
deb706e89200411d06fc688587d31186822d3b895e0916b975ca3d9a49a76c90
BLAKE2b-256 checksum
How to use checksums
245230d49f1f1a2fcedb5532f6aa6dc1243a9bf14bd77b332d25bf798054c5da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

2 This release

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