Skip to main content

Plugin for Sentry which integrates with WeChat Work.

Project description

Sentry WeChat Work pypi Downloads

Plugin for Sentry which allows sending notification and SSO Login via WeChat Work.

Installation

NOTE: sentry 20.x removed support for legacy plugins, so this plugin only works for sentry 9.x-10.x.

Prepare

  • Install the plugin:
    • onpremise: put sentry-wxwork to requirements.txt
    • manual: pip install sentry-wxwork
  • Obtain required config from WeChat Work admin console (Read Me).

Notification

On (Legacy) Integrations page, find WeChat Work, enable and configure it.

SSO Login

Add the following settings to your sentry.conf.py:

WXWORK_CORP_ID = ''
WXWORK_SECRET = ''
WXWORK_AGENT_ID = ''

or, if you prefer setting it via environment variables:

if 'WXWORK_CORP_ID' in os.environ:
    WXWORK_CORP_ID = env('WXWORK_CORP_ID')
    WXWORK_SECRET = env('WXWORK_SECRET')
    WXWORK_AGENT_ID = env('WXWORK_AGENT_ID')

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_wxwork-1.2.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

sentry_wxwork-1.2.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file sentry_wxwork-1.2.0.tar.gz.

File metadata

  • Download URL: sentry_wxwork-1.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for sentry_wxwork-1.2.0.tar.gz
Algorithm Hash digest
SHA256 91f6c994b3030c331ea9d3d46371f70164c2c0fcca7ef0709d07c1ffe259ca6b
MD5 286007c28be4aaf3cc76874ec7d2e508
BLAKE2b-256 35093d2ad51d98a0c7ac9ca1ae3129b9365fc6bf09dfabc26a87a4e259bec8ad

See more details on using hashes here.

File details

Details for the file sentry_wxwork-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: sentry_wxwork-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for sentry_wxwork-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12b75f071079d65f862b9f5f959079870fc45892e4c83281c9bd8a6a61cc2c4d
MD5 25d8a94c8ec375d748a30fe1c72b4279
BLAKE2b-256 4a3a161814f66215ad5bf42f07715c08b2bfb9fd2fe7b1441edb9477e94e2c36

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