varnish plugin: add missing fields
authorNick Stenning <nick.stenning@digital.cabinet-office.gov.uk>
Tue, 7 May 2013 09:30:35 +0000 (10:30 +0100)
committerNick Stenning <nick.stenning@digital.cabinet-office.gov.uk>
Tue, 7 May 2013 10:19:21 +0000 (11:19 +0100)
commit8775392f037747cf06edc58a31750c9dcd895a73
tree2d0f44bbfe4ac6d2dd723d02cb67b46924b0aab3
parent2006b75a20f2c0a89ce88a3fb2332367e4a208e3
varnish plugin: add missing fields

This commit adds a large number of fields exported by the varnish stats
interface which have not previously been collected. A number are still missing,
as it is not immediately obvious which stat group they should go in:

    accept_fail
    client_drop_late

and, from Varnish 3.X:

    vmods
    n_gzip
    n_gunzip

In addition, there are a number of fields which were added at the end of the 2.X
series, but in the absence of a way of detecting whether we're compiling against
2.0.X or 2.1.X, are necessarily disabled when compiling against 2.X:

    dir_dns_lookups
    dir_dns_failed
    dir_dns_hit
    dir_dns_cache_full
    backend_retry
    fetch_1xx
    fetch_204
    fetch_304
src/collectd.conf.in
src/types.db
src/varnish.c