DEPRECATION WARNING: This integration has now been merged into sentry-python
Dramatiq task processor integration for the Sentry SDK.
pip install sentry-dramatiq
import sentry_sdk
import sentry_dramatiq
sentry_sdk.init(
'__DSN__',
integrations=[sentry_dramatiq.DramatiqIntegration()],
)- 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)
sentry_sdk.init()has to be called before broker is initialized as the integration monkey patchesBroker.__init__