From: phk Date: Wed, 13 Feb 2008 10:57:17 +0000 (+0000) Subject: Add two new stat fields for counting bereq's and backends. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6715ac94eb4c4af5ce70b66cf9d179e9f925da8c;p=varnish Add two new stat fields for counting bereq's and backends. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2450 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/stat_field.h b/varnish-cache/include/stat_field.h index e3f847a0..f2736d29 100644 --- a/varnish-cache/include/stat_field.h +++ b/varnish-cache/include/stat_field.h @@ -52,6 +52,7 @@ MAC_STAT(n_smf, uint64_t, 'i', "N struct smf") MAC_STAT(n_smf_frag, uint64_t, 'i', "N small free smf") MAC_STAT(n_smf_large, uint64_t, 'i', "N large free smf") MAC_STAT(n_vbe_conn, uint64_t, 'i', "N struct vbe_conn") +MAC_STAT(n_bereq, uint64_t, 'i', "N struct bereq") MAC_STAT(n_wrk, uint64_t, 'i', "N worker threads") MAC_STAT(n_wrk_create, uint64_t, 'a', "N worker threads created") MAC_STAT(n_wrk_failed, uint64_t, 'a', "N worker threads not created") @@ -59,6 +60,7 @@ MAC_STAT(n_wrk_max, uint64_t, 'a', "N worker threads limited") MAC_STAT(n_wrk_queue, uint64_t, 'a', "N queued work requests") MAC_STAT(n_wrk_overflow, uint64_t, 'a', "N overflowed work requests") MAC_STAT(n_wrk_drop, uint64_t, 'a', "N dropped work requests") +MAC_STAT(n_backend, uint64_t, 'i', "N backends") MAC_STAT(n_expired, uint64_t, 'i', "N expired objects") MAC_STAT(n_lru_nuked, uint64_t, 'i', "N LRU nuked objects")