Hi,
I would like to access the uWSGI stats API from within Django by
creating a custom WSGI middleware.
Could it be possible to compute the number of requests currently being
used by uWSGI workers in Python/Django ?
Ideally, i could then retrieve the active connections in use in a
standard Django view:
def someview(request):
# retrieve the number of active requests (connections)
connections = request.environ['uwsgi.requests']
What do you think?
Etienne
--
Etienne Robillard
[email protected]
https://www.isotopesoftware.ca/
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi