Skip to content

jacobsvante/sentry-dramatiq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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__

About

Dramatiq task processor integration for the Sentry SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages