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
- Adds all info about a Dramatiq message to a separate context (shows up as its own section in the Sentry UI)
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.3.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for sentry_dramatiq-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0830b9d99f8cb41f816df5e76af0c82c1e697fa8c18738710c9c21b6d03e4e77 |
|
MD5 | b98523286f7385dc92c22477c0bbdb84 |
|
BLAKE2b-256 | 6c0236f5e38d1e20bde126d419463616ba14c3cc6ec50ff69690b550e47b9a6e |