Skip to main content

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)

Uploaded Source

File details

Details for the file pyramid_health-0.2.11.tar.gz.

File metadata

File hashes

Hashes for pyramid_health-0.2.11.tar.gz
Algorithm Hash digest
SHA256 da08909222b7fdce4496f17f4601c6a18f9d0662e0678a92a9c9499ce6377ad4
MD5 f6aa679c759c5d3f3a61141388c65f88
BLAKE2b-256 21b4f25e4c831e54866a32df1f07be87fbaddb1a0a8180b11385f65b04d45e6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page