ErrorsΒΆ

Django Q uses a pluggable error reporter system based upon python extras, allowing anyone to develop plugins for their favorite error reporting and monitoring integration. Currently implemented examples include Rollbar and Sentry.

Error reporting plugins register a class which implements a report method, which is invoked when a Django Q cluster encounters an error, passing information to the particular service. Error reporters must be configured via the Q_CLUSTER dictionary in your settings.py. These settings are passed as kwargs upon initiation of the Error Reporter. Therefore, in order to implement a new plugin, a package must expose a class which will be instantiated with the necessary information via the Q_CLUSTER settings and implements a single report method.

For example implementations, see django-q-rollbar and django-q-sentry