Skip to main content

A Sentry extension which send errors stats to WxWork

Project description

Sentry-for-WxWork

1 项目介绍

本项目是模仿sentry-10-dingding,专为企业微信群聊机器人写的报警消息插件。 如果你想使用钉钉的机器人作为sentry报警的工具,可以去使用sentry-10-dingding

2 使用方法

2.1 安装

可以修改sentry项目中requirement.txt文件,增加sentry-for-wxwork

# requirement.txt

sentry-for-wxwork

然后使用以下docker命令重新部署即可

# 目前,对于self-hosted版本的开源sentry来说,需要先运行
./install.sh

# 然后在运行
docker-compose up -d 

如果是你的sentry服务已经部署好了,依然需要重新运行上面两个命令,才能重新安装好新的插件

2.2 使用

2.2.1 先在整个sentry的Settings里面找到WxWork,如下图所示

找到Wxwork

2.2.2 然后在可以在你所建的项目的Settings中找到 Legacy integrations, 在里面把WxWork打开

找到Legacy_ntegrations

2.2.3 然后刷新一下,可以在你所建的项目中,看到WxWork,接着配置上你的token即可,如下图所示。

注意,这里的token,即为你在配置企微群机器人得到的url中的key的值。 找到token

3 FAQ

如果您在使用过程中,有任何问题,可以给我提交issue

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-for-wxwork-1.1.0.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file sentry-for-wxwork-1.1.0.tar.gz.

File metadata

  • Download URL: sentry-for-wxwork-1.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.8

File hashes

Hashes for sentry-for-wxwork-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b70bb97b541e0475c0ee4b95213a3804b40291265341b8c280f21171bd898988
MD5 148300f68884b58cfdc2bcfb062ceca1
BLAKE2b-256 c4b51a7f6aa400a980c5a02c8475f4139a94f4edad4800a1d6bc79ce19766e64

See more details on using hashes here.

Supported by

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