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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sentry_dramatiq-0.3.3.tar.gz.

File metadata

  • Download URL: sentry_dramatiq-0.3.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for sentry_dramatiq-0.3.3.tar.gz
Algorithm Hash digest
SHA256 569d9a7ce933c37f3d7fe6087187fdd938adf756f8930d37e8e0af824da58636
MD5 b259c22518b61743a3a5ff75dd4a8557
BLAKE2b-256 e3a20a604154bac61c38003b21f714eaed5fc866855e98d918ba0717a756f00d

See more details on using hashes here.

File details

Details for the file sentry_dramatiq-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for sentry_dramatiq-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc461c754537fa27cddb061c01ef9b6fea8412e5118c85206cc6938dfb4910ba
MD5 eadfe1cfa0d4aa373cd8c90ef861db2d
BLAKE2b-256 9eca0eafb6c2c7ea94e3192b2fdb58b40e72e430b240b358af7f62bf4afa0037

See more details on using hashes here.

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