Review for patch to add derived (calculated) values to the statistics counters reported by libvarnishapi
Martin Blix Grydeland
martin at varnish-software.com
Sun Jan 23 09:01:47 CET 2011
On Sat, Jan 22, 2011 at 08:33, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>
> I like the idea.
>
> Would it be possible to make the formula for deriving the counter
> part of the VSC_D() macro ?
>
> Something like:
>
> VSC_D(s_avoidedbytes, uint64_t, 0, 'a',
> "Avoided backend bytes (derive d)",
> ((ptr)->s_hdrbytes + (ptr)->s_bodybytes ...))
>
>
Yes - I can make the feature more completely automated by macro definitions.
I will look into this when I get back from my vacation (leaving now and will
be gone the next 14 days).
-Martin
--
Martin Blix Grydeland
Varnish Software AS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110123/69979f3c/attachment-0003.html>
More information about the varnish-dev
mailing list