Request duration
Jos Boumans
jos at dwim.org
Thu Mar 21 11:49:53 CET 2013
Hi Jon,
we tried to do exactly the same, and I ended up writing this vmod to
accomplish the task:
https://www.varnish-cache.org/vmod/varnish-timers-get-timingduration-directly-varnish
This let's you capture the timers (and store them in a header if you
like for logging) without having to patch varnishncsa itself.
We use that together with another vmod I wrote to send stats directly
to statsd. Here's a blogpost that explains the process, together with
a VCL you can include to make it work for you:
http://jiboumans.wordpress.com/2013/02/27/realtime-stats-from-varnish/
Cheers,
-Jos
On 21 Mar 2013, at 11:26, Delta Wasp wrote:
> Hi
>
> I'm trying to find out how to log request duration using varnishncsa. The nearest thing I've seen is Klaus's posting earlier this year:
>
> https://www.varnish-cache.org/lists/pipermail/varnish-dev/2013-January/007461.html
>
> But this code doesn't appear to have made into any release. Can anybody tell me how to go about getting this code tested and live?
>
> I'm new to this, so apologies if I'm not going about the right way.
>
> Regards
>
> Jon
> _______________________________________________
> varnish-dev mailing list
> varnish-dev at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
More information about the varnish-dev
mailing list