[openstack-dev] WSGI 'status' page?

John Dickinson me at not.mn
Mon Sep 10 22:08:10 UTC 2012

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 thingy). 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120910/23692a49/attachment.bin>

More information about the OpenStack-dev mailing list