Code

varnish plugin: Use a DERIVE type for allocated and free bytes.
authorFlorian Forster <octo@huhu.verplant.org>
Mon, 7 Feb 2011 06:40:22 +0000 (07:40 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 7 Feb 2011 06:40:22 +0000 (07:40 +0100)
commitef3c8ce93f6cfb2517a2b2d6ea7c07a81e8c41f3
tree830e0f8ac0935bbf89a779ae9abbf563279dacf5
parentb7250d225efc54f543fed4108c7129195838e0c8
varnish plugin: Use a DERIVE type for allocated and free bytes.

Each event is counted, so storing a GAUGE is not the right thing to do.
Thanks to Renaud Chaput for pointing this out.

N.B.: The total amount of allocated memory is tracked by
"bytes-outstanding" for many storage backends.
src/varnish.c