Python eve-healthcheck project
Project Description
eve-healthcheck
eve-healthcheck is project that servers healthcheck urls used to monitor your application Eve powered RESTful API.
Usage
from eve_healthcheck import EveHealthCheck ... app = Eve() hc = EveHealthCheck(app, '/healthcheck') ...
This will add an url /healthckeck that will check database connection like:
{ "hostname":"localhost", "results":[ { "checker":"database_check", "expires":1487655119.5796409, "output":"Database OK", "passed":true, "timestamp":1487655092.5796409 } ], "status":"success", "timestamp":1487655092.5820687 }
Installation
$ pip install eve-healthcheck
Running tests with tox
Install tox
$ pip install tox
Run tests
tox
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
eve-healthcheck-0.2.0.tar.gz (3.4 kB) Copy SHA256 hash SHA256 | Source | None | May 22, 2017 |