Varnish statistics

Poul-Henning Kamp phk at phk.freebsd.dk
Wed May 14 16:31:59 CEST 2008


In message <48298DDE.7080600 at vg.no>, Audun Ytterdal writes:
>Here is a thought.
>
>We like varnish, we like munin, we like statistics...
>
>Right now it's hard to get information about which backend get what kind
>of traffic, how much of your traffic is hindered by cookies and so forth

>        if (!req.url ~ "^\/tabkonk/" && !req.url ~ "^\/live\/") {
>                inc varcount.tabkonkcookieremove;

You can actually simulate this already, by enabling the vcl_trace
parameter and run 
	varnishlog -i vcl_trace
and see where things go in the VCL code.


Doing dynamic counters is probably not a bad idea, but realistically
you would only be able to read them through the CLI, unless we predefine
a fixed number of "vcl_counters".

Anyway, this should be added to the "post 2.0 ideas" page on the wiki.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list