Skip to main content

Dramatiq task processor integration for the Sentry SDK

Project description

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__

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.3.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

sentry_dramatiq-0.3.3-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page