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

Built distribution (wheel)

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

Total release size: 11.0 kB

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

Download URL sentry-dingtalk-tmp-2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9147eed40924df9eed98f2ad699418c984db98b5974ff40111494dbdf33c6357
BLAKE2b-256 checksum
How to use checksums
47bcff7433f4290820c4542759ac0dd6b8f563a9f9d038ba421dc0022b295b78
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_tmp-2-py3-none-any.whl

Download URL sentry_dingtalk_tmp-2-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc015c53e0ab2f2d63fd4d0cadeaff3b03dff7280d3c18eee6820a9efe0e165e
BLAKE2b-256 checksum
How to use checksums
3a405e77706ef46d736590468c821a8c1a909b240330549dc5736055f525dc4b
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