[openstack-dev] WSGI 'status' page?

Joshua Harlow harlowja at yahoo-inc.com
Mon Sep 10 22:15:48 UTC 2012

Cool, maybe that should be in all projects?

It'd be neat to have that give out more than just 200 + 'OK' but 200 +
eventlet/wsgi stats as well.

Something similar to http://httpd.apache.org/docs/2.2/mod/mod_status.html
for wsgi would seem useful in general...

On 9/10/12 3:08 PM, "John Dickinson" <me at not.mn> wrote:

>Swift comes with a healthcheck middleware used as the first entry on the
>pipeline. It can be used for the purpose you describe. The middleware
>implements the "/healthcheck" endpoint and returns a 200 status code with
>"OK" in the body.
>On Sep 10, 2012, at 3:02 PM, Joshua Harlow <harlowja at yahoo-inc.com> wrote:
>> Hi all,
>> I am looking into how we can load balance across different WSGI servers
>>and I've typically done this by having a load balancer call something
>>like a 'status.html' page in apache, which will return 200 + data about
>>the server to the load balance (ie a artifically generated webpage that
>>will show the stats about the server and will always return something
>>when the server is up). Is there any equivalent in WSGI (or eventlet?)
>>that is accessible from the web entrypoint (I know there is a backdoor
>> Does anything like that exist as an extension right now, it would seem
>>useful to have a page where one could go to to show eventlet stats, wsgi
>>stats + other stats about the WSGI server that is running in eventlet
>>for various reasons (load balancing included). Thoughts/ideas?
>> Thx!
>> -Josh
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list