Monitor server status with a healthcheck.
Project description
Monitor server status with a healthcheck. Supports Django 1.10, 1.11 and 2.0.
Installation
To get the latest stable release from PyPi
pip install django-server-status
To get the latest commit from GitHub
pip install -e git+git://github.com/mitodl/django-server-status.git#egg=django-server-status
Add a stanza like this to your settings. Current supported services are ‘REDIS’, ‘ELASTIC_SEARCH’, ‘POSTGRES’, ‘CELERY’.
HEALTH_CHECK = ['REDIS', 'ELASTIC_SEARCH', 'POSTGRES']
Add server_status to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'server_status',
)
Add the server_status URLs to your urls.py
urlpatterns = [
...
url(r'^status/', include('server_status.urls')),
]
Release Notes
0.3: Added status_all property to the status results JSON. 0.2: Support for celery validation. 0.1.1: Included tests 0.1: Initial Release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-server-status-0.5.0.tar.gz
.
File metadata
- Download URL: django-server-status-0.5.0.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0e7853f65208fa8596baa6916e4e85e30811fb13839c91bfa95de4c6eeb869d |
|
MD5 | 12cfaaee790918690255b6f59d0fe0d1 |
|
BLAKE2b-256 | a182422305150602409597a8d2d12452f4daa746248e8d044607d4973c3211dc |