Skip to main content

A sentry extension integrates DingTalk robot webhook forked from Jedore/sentry-dingtalk

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sentry-dingtalk-henryhaoson-9.0.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sentry_dingtalk_henryhaoson-9.0.0-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sentry-dingtalk-henryhaoson-9.0.0.tar.gz.

File metadata

  • Download URL: sentry-dingtalk-henryhaoson-9.0.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sentry-dingtalk-henryhaoson-9.0.0.tar.gz
Algorithm Hash digest
SHA256 1b46bfaddf6fab65eb0666dea88f26b282a652512c11bf191773eeb7f7c36230
MD5 06ffa96b58309f1e6a6d81d6ed89d9e9
BLAKE2b-256 019db71698e59114507825f257dd82624745f53e9b6ad1faf4dcdd126c6dfa4a

See more details on using hashes here.

File details

Details for the file sentry_dingtalk_henryhaoson-9.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: sentry_dingtalk_henryhaoson-9.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for sentry_dingtalk_henryhaoson-9.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e49f184eef127fa5e179fa6788a810599b5c5f9a98eb0ff19b856c80270222c8
MD5 ea74a5904efe1870565f6fe7a93771eb
BLAKE2b-256 f07aaebfdaaa71c7c4cb9995771c58a71230afa1b6c02b61ad3bfacf2a6aba13

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page