Skip to main content

Django pluggable app to monitor the service status

Project description

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.

Project details


Download files

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

Source Distribution

django-service-status-0.5.0.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

django_service_status-0.5.0-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-service-status-0.5.0.tar.gz.

File metadata

  • Download URL: django-service-status-0.5.0.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for django-service-status-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d06045ad0f579f8927aed2a2dd184c57829944caa39a53475b9a3aa9606c8483
MD5 ad768bc7a77023541ab5cbb64620aad0
BLAKE2b-256 4aa1fdd33f3dd3407f2b4a07fb6bccae02fd5ab1db79bc6b0efe225d82921e06

See more details on using hashes here.

File details

Details for the file django_service_status-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_service_status-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5315beda2e064c213b51ebe7a0224e78c66910637a04f7ebf245aa620860b266
MD5 6a149d4924dd08c8b008bfdbaf3ed55f
BLAKE2b-256 0dcf0b8b001fba76e28f5895d996b9c0b5dc04710c81bc482601694ca95f4150

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page