Simple middleware for healthchecks
Project description
Rehive Django HealthCheck
Quick start
- Install the package:
pip install django-healthz
- Add "healthz" to your INSTALLED_APPS settings like this:
INSTALLED_APPS = [
...
'healthz',
]
- Include the healtheck middleware in the django middleware:
MIDDLEWARE = [
'healthz.middleware.HealthCheckMiddleware',
...
]
- Configure the readiness checks:
HEALTHCHECK = {
'READINESS_CHECKS': ('databases', 'caches', 'queues',)
}
TODO
- Update responses to JSON
- Allow customization or readiness and healthz URLs.
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
django-healthz-0.0.4.tar.gz
(2.8 kB
view hashes)