python-hospital / hospital

Tools to diagnose Python projects (supervision, monitoring).
Other
40 stars 8 forks source link

A lightweight WSGI server runs healthchecks #20

Closed benoitbryon closed 10 years ago

benoitbryon commented 10 years ago

Lightweight because this feature may not be the primary purpose of hospital. But it may be useful too, since it is easy to plug HTTP service into monitoring tools. Something like python -m hospital.server or hospital-serve would be nice.

The main question is: howto load configuration? Or which healthchecks to collect by default?

benoitbryon commented 10 years ago

Try to make it work with minimal dependencies, i.e. with http://docs.python.org/3/library/wsgiref.html#module-wsgiref.simple_server