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.
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
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.
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 |
Filename, size django-service-status-0.4.0.tar.gz (9.3 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_service_status-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df41b25b46660bdb79031ab8170ae0934d7ed22fe4a7ec9b541a0e6e49707574 |
|
MD5 | 4e2fcf13a142d3c0eea4923acfff5647 |
|
BLAKE2-256 | d142f3ef1882c6f5bdf30ea211ee20637d7b56e6f30d4f978d0c79572e337590 |
Close
Hashes for django-service-status-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94af361c7e64c162d07042ca0fcc4b411fa560c28821b0af1f32c2f4330091a0 |
|
MD5 | b68e6ef349636e77f32b5da13599ca63 |
|
BLAKE2-256 | d270bdc4e0fab77775c19d29643539adeac93282b5a3de0c360258ba3c21c1a8 |