Skip to main content

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.

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.5.0 (2023-02-24)

  • Added support for Django 4

0.4.1 (2022-04-28)

  • Added support for Django 3.2

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.

Metadata

Release files for django-service-status 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-service-status 0.5.0
File Size Uploaded
django-service-status-0.5.0.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-service-status 0.5.0
File Interpreter ABI Platform
django_service_status-0.5.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 20.5 kB

Release files / django-service-status-0.5.0.tar.gz

Download URL django-service-status-0.5.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d06045ad0f579f8927aed2a2dd184c57829944caa39a53475b9a3aa9606c8483
BLAKE2b-256 checksum
How to use checksums
4aa1fdd33f3dd3407f2b4a07fb6bccae02fd5ab1db79bc6b0efe225d82921e06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release files / django_service_status-0.5.0-py2.py3-none-any.whl

Download URL django_service_status-0.5.0-py2.py3-none-any.whl
Size 9.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5315beda2e064c213b51ebe7a0224e78c66910637a04f7ebf245aa620860b266
BLAKE2b-256 checksum
How to use checksums
0dcf0b8b001fba76e28f5895d996b9c0b5dc04710c81bc482601694ca95f4150
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page