🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
DemoInstallSign in
Socket

django-q-rollbar

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-q-rollbar

A Rollbar support plugin for Django Q

0.1.3
PyPI
Maintainers
2

django-q-rollbar

A Django Q Error Reporter plugin adding Rollbar support.

Installation

This plugin is intended to be included with Django Q as setuptools extra.

$ pip install django-q[rollbar]

Or add django-q[rollbar] to requirements.txt.

This plugin requires Django Q version 0.8.1 or greater. Earlier versions of Django Q can incorporate rollbar support via the rollbar key in the Q_CLUSTER settings dictionary.

Usage

Configure Rollbar via the Django Q Q_CLUSTER dictionary in your Django project's settings.py. It is important that the rollbar key be set in the error_reporter dictionary, as this name aligns with the project's entry point for this plugin.

Q_CLUSTER = {
    'error_reporter': {
        'rollbar': {
            'access_token': '32we33a92a5224jiww8982',
            'environment': 'Django-Q'
        }
    }
}

Please check the Pyrollbar configuration reference for more options. Additional options defined in Q_CLUSTER are passed directly as kwargs to Pyrollbar's rollbar.init.

Of course, you will need a Rollbar account and access token to use this plugin.

Keywords

django distributed task queue worker scheduler cron redis disque ironmq sqs orm mongodb multiprocessing rollbar

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts