Hello,
I’m trying to write a module that will collect extended stats, that is
more then what is offered by stub_status. I’ve dumped a couple of stats,
but had to modify source code outside the module. Modifying vanilla
source isn’t an option for me. So before I begin, I was wondering if I
could get some information:
- Can I collect stats on every request? I want to know how many bytes
were written in the body and headers out to the client. - Is it possible to collect stats on reverse proxy’s? IE: how many
upstream connections are there, have there been, failed, 50x’s? - Do this all inside of a module?
Thanks in advance.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,221739,221739#msg-221739