Pyramid health
Project description
Pyramid_health implement the pyramid view used by the loadbalancers to perform health-check on the application.
Features
* Maintenance mode (enabled by touching a file)
Note:
* The health-check url is currently hard-coded to /health
Usage
To use pyramid_health, you should include the module pyramid_health to your pyramid configuration
config.include("pyramid_health")
Or add in the paster configuration
pyramid.include = pyramid_health
Configuration options
health.maintenance.file
Enable maintenance mode depending on the existance of a file. In maintenance mode, the health view responds with a 503 HTTP code.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyramid_health-0.2.11.tar.gz
(2.1 kB
view details)
File details
Details for the file pyramid_health-0.2.11.tar.gz
.
File metadata
- Download URL: pyramid_health-0.2.11.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da08909222b7fdce4496f17f4601c6a18f9d0662e0678a92a9c9499ce6377ad4 |
|
MD5 | f6aa679c759c5d3f3a61141388c65f88 |
|
BLAKE2b-256 | 21b4f25e4c831e54866a32df1f07be87fbaddb1a0a8180b11385f65b04d45e6c |