No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
eve_healthcheck
tests
.bumpversion.cfg
.coveragerc
.coveralls.yml
.editorconfig
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
MANIFEST.in
Makefile
README.rst
defines.mk
requirements.txt
setup.cfg
setup.py
test-requirements.txt
tox.ini

README.rst

eve-healthcheck Latest Version

Build Status Requirements Status Coverage Status

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