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
healthcheck.disablefile
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.3.18.tar.gz
(2.2 kB
view details)
File details
Details for the file pyramid_health-0.3.18.tar.gz
.
File metadata
- Download URL: pyramid_health-0.3.18.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217bc3d1467e0fc4429f58a3e8f93dc50c6da1954e0d978339436332d58d3050 |
|
MD5 | a18ac3ff9705d4b7b81e44ebaad370af |
|
BLAKE2b-256 | 5e7b16c1bf6583dc4cc16b14f44cb5c0cebc9b7881875d172e9e576ff6303b2f |