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 hashes)
Built Distribution
Close
Hashes for sentry_wxwork-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a45569670b7bc99cc199dd24d1b1bc746e19803e5bd93f3758a0e3fb03c25bb |
|
MD5 | 9e69d588be8760810a95a7118c4b7b0b |
|
BLAKE2b-256 | 3a18042be842fa136f0f3899f80b613e19d2eead271355ee3a5d1b07a55966c4 |