Dramatiq task processor integration for the Sentry SDK
Project description
sentry-dramatiq
Dramatiq task processor integration for the Sentry SDK.
Installation
pip install sentry-dramatiq
Setup
import sentry_sdk
import sentry_dramatiq
sentry_sdk.init(
'__DSN__',
integrations=[sentry_dramatiq.DramatiqIntegration()],
)
Features
- Tags Sentry events with the message ID as
dramatiq_message_id
- Sends message info as request body to Sentry (utilizing the same truncation mechanism that Sentry's web integrations use. See request_bodies in Sentry's docs)
Known limitations
sentry_sdk.init()
has to be called before broker is initialized as the integration monkey patchesBroker.__init__
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_dramatiq-0.2.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for sentry_dramatiq-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aba9e9a19ac795e8b99c8a61fc3561f7c9345cf5a92879af76db8354550e4477 |
|
MD5 | 107b924a607967ef0f2438411d8fca84 |
|
BLAKE2b-256 | 1672fabe810e0d8a71bf59bf90051ebdc0d6adc34f958074c8b76e5437bea5d1 |