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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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