Skip to main content

A sentry extension integrates DingTalk robot webhook

Project description

Sentry DingTalk

Sentry 集成钉钉机器人通知

Requirments

  • sentry >= 21.5.1

特性

  • 发送异常通知到钉钉
  • 支持钉钉关键字、签名
  • 配置环境变量
    • DINGTALK_WEBHOOK: Optional(string)
    • DINGTALK_CUSTOM_KEYWORD: Optional(string)
    • DINGTALK_SIGNATURE: Optional(string)

快速使用

安装

  1. 使用 pip 命令

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

    $ echo sentry-dingtalk-jedore >> 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-jedore-1.0.6.tar.gz (4.4 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_jedore-1.0.6-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sentry-dingtalk-jedore-1.0.6.tar.gz.

File metadata

  • Download URL: sentry-dingtalk-jedore-1.0.6.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.13

File hashes

Hashes for sentry-dingtalk-jedore-1.0.6.tar.gz
Algorithm Hash digest
SHA256 0d2007cc7093a6055e9c303f259406b2d0add54fc67db1d7ea5fce59b6d1c08a
MD5 298070ed0bea5f0859bb15c44ecab4c2
BLAKE2b-256 8f4530ad168418995e5cda617b21379b930266d66b7659287ab4b3ac7ce4a954

See more details on using hashes here.

File details

Details for the file sentry_dingtalk_jedore-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: sentry_dingtalk_jedore-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.6.13

File hashes

Hashes for sentry_dingtalk_jedore-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a113cc2c4514da910ab6abf830cdaef1001b84a3400ccf4c9f246c084c1027c
MD5 05ad0ee24a958ffa8e0b4cbbf6c3721c
BLAKE2b-256 0184261359d35c30a564b5b36ef461abf15805e89829b30a095898d9fe4b94fd

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