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 hashes)

Uploaded Source

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