Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 1.77 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.77 KB

DEPRECATION WARNING: This integration has now been merged into sentry-python

sentry-dramatiq

Travis CI build status (Linux) PyPI version License Available as wheel Supported Python versions PyPI status (alpha/beta/stable) Coverage Status

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 patches Broker.__init__