Skip to main content
🐍⚡️Support Python for everyone by grabbing a 30% discount on PyCharm—ALL proceeds go to the Python Software Foundation. Offer ends soon, so grab it today!  GET 30% OFF PYCHARM

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.

Supported by

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