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.
Release files for django-healthz 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-healthz-0.0.5.tar.gz | 2.9 kB | Details |
Release files / django-healthz-0.0.5.tar.gz
| Download URL | django-healthz-0.0.5.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a151fe7e4a5a93f42701b0dc2619495354063c18e6cbfe33162c39a5afc69e89
|
|
BLAKE2b-256 checksum How to use checksums |
276ff6c64f75a88aac46c680349c0faf41b7e4679559e6a5b923e3bfb77afaef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|