The RQ integration adds support for the RQ Job Queue System.
Create a file called mysettings.py
with the following content:
import sentry_sdk
from sentry_sdk.integrations.rq import RqIntegration
sentry_sdk.init("YOUR-GLITCHTIP-DSN-HERE", integrations=[RqIntegration()])
Start your worker with:
rq worker \
-c mysettings \ # module name of mysettings.py
--sentry-dsn="" # only necessary for RQ < 1.0