/rqworker_dashboard

rqworker_dashboard is a django app that provides a simple dashboard for RQ. Inspired by rq-dashboard

Primary LanguageJavaScript

rqworker_dashboard is a django app that provides a simple dashboard for RQ. Inspired by rq-dashboard

Installing

Download source and install package using pip:

$ pip install -e git+https://github.com/randomknowledge/rqworker_dashboard.git#egg=rqworker_dashboard

Add this to your project's settings.py and add rqworker_dashboard to INSTALLED_APPS. Those are also the default settings:

RQ_DASHBOARD_SETTINGS = {
    'poll_interval': 10,            # Update dashboard every `poll_interval` seconds
    'remove_ghost_workers': True,  # Remove Redis Keys of workers that don't have a running process (Ghost workers)
                                    # Only works if Redis runs on the same machine!
    'connection': {
        'db': 0,
        'host': 'localhost',
        'port': 6379
    }
}

Add this to your project's urls.py:

url(r'^admin/rq/', include('rqworker_dashboard.urls')),

Login to django admin and point your browser to http://your.server/admin/rq/