Re: Best place for metrics module

2015-05-21 Thread Maxim Dounin
Hello! On Thu, May 21, 2015 at 08:22:43AM -0400, donatasm wrote: > I want to write my custom nginx module for measuring request processing time > for every HTTP request received. I need to start counting request processing > time as early as nginx receives first byte of a request and finish, when

Best place for metrics module

2015-05-21 Thread donatasm
I want to write my custom nginx module for measuring request processing time for every HTTP request received. I need to start counting request processing time as early as nginx receives first byte of a request and finish, when it sends the last byte in a response. What would the best place be in n