Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python eve-healthcheck project

Project description

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 /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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for eve-healthcheck, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size eve-healthcheck-0.3.1.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page