Dramatiq task processor integration for the Sentry SDK
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install sentry-dramatiqREADME as published on PyPI with version 0.3.3.
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__