Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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
  • Sends message info as request body to Sentry (utilizing the same truncation mechanism that Sentry's web integrations use. See request_bodies in Sentry's docs)

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
sentry_dramatiq-0.2.0-py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py3
sentry_dramatiq-0.2.0.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page