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.5.tar.gz
(2.9 kB
view details)
File details
Details for the file django-healthz-0.0.5.tar.gz
.
File metadata
- Download URL: django-healthz-0.0.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a151fe7e4a5a93f42701b0dc2619495354063c18e6cbfe33162c39a5afc69e89 |
|
MD5 | dcbb8ccae649d52b24f2ca4a00d9e438 |
|
BLAKE2b-256 | 276ff6c64f75a88aac46c680349c0faf41b7e4679559e6a5b923e3bfb77afaef |