Starting with RQ version 0.3.1, support for Sentry has been built in.
RQ natively supports binding with Sentry by passing your
$ rqworker --sentry-dsn="___DSN___"
If you want to pass additional information, such as
release, you’ll need to bind your own instance of the Sentry
from raven import Client from raven.transport.http import HTTPTransport from rq.contrib.sentry import register_sentry client = Client('___DSN___', transport=HTTPTransport) register_sentry(client, worker)
rq‘s documentation for more information: http://python-rq.org/patterns/sentry/