Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Django pluggable app to monitor the service status

Project description

https://badge.fury.io/py/django-service-status.svg https://travis-ci.org/mrc75/django-service-status.svg?branch=master https://travis-ci.org/mrc75/django-service-status.svg?branch=develop https://codecov.io/gh/mrc75/django-service-status/branch/develop/graph/badge.svg

Django pluggable app to monitor the service status

Documentation

Django Service Status is a set of checks that are run every time your http://example.com/service_status/ page is visited.

The full documentation is at https://django-service-status.readthedocs.io.

Quickstart

Install Django Service Status:

pip install django-service-status

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'service_status.apps.ServiceStatusConfig',
    ...
)

Add Django Service Status’s URL patterns:

from service_status import urls as service_status_urls


urlpatterns = [
    ...
    url(r'^service_status/', include(service_status_urls, namespace='service-status')),
    ...
]

Features

Builtin checks are:

  • database
  • swap memory
  • celery workers

Default settings: database, swap memory

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.4.0 (2019-10-28)

  • Added support for Django 2.2
  • Added Redis Status check

0.3.0 (2018-10-21)

  • Added support for Django 2.1
  • Warnings do not affect SERVICE_OPERATIONAL

0.2.0 (2017-04-12)

  • Added Celery check

0.1.0 (2017-04-10)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-service-status, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size django_service_status-0.4.0-py2.py3-none-any.whl (9.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size django-service-status-0.4.0.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page