Skip to main content

Plugin for Sentry which integrates with WeChat Work.

Project description

Sentry WeChat Work

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

Installation

NOTE: sentry > 9.1.2 is not supported.

Prepare

Install the plugin:

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.0.0.tar.gz (5.6 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.0.0-py2-none-any.whl (8.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: sentry_wxwork-1.0.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for sentry_wxwork-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1d837966c77f5aae11907b725e510f3a01ed7fd31bc39b7d9fed839dbf787552
MD5 4229c4a11dce0deeae0117d75b2c6cc6
BLAKE2b-256 e22682a8e490d49af70630e8eca94e866e6053c7cfd637063bec0827eeb1de08

See more details on using hashes here.

File details

Details for the file sentry_wxwork-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: sentry_wxwork-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7

File hashes

Hashes for sentry_wxwork-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 4a45569670b7bc99cc199dd24d1b1bc746e19803e5bd93f3758a0e3fb03c25bb
MD5 9e69d588be8760810a95a7118c4b7b0b
BLAKE2b-256 3a18042be842fa136f0f3899f80b613e19d2eead271355ee3a5d1b07a55966c4

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