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 /healthcheck 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
Need a mongodb server running on localhost
$ docker run --rm -p 27017:27017 mongo
$ pip install tox
Run tests
tox
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eve-healthcheck-0.3.1.tar.gz
(3.6 kB
view details)
File details
Details for the file eve-healthcheck-0.3.1.tar.gz.
File metadata
- Download URL: eve-healthcheck-0.3.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4f7c36596fc18d467fb9a3ab56f15e55bb35a66e22964f70fd3011721b125de
|
|
| MD5 |
ce77272934c1e0f8b7692b3c9b6b5c75
|
|
| BLAKE2b-256 |
23b78eea115f9ece5ae355df775dc16eb8cd1d2ee94e4ce5db334d91d280b79c
|