[3.0] b1f19fa Add a new stats counter for "gone" marked bans

Tollef Fog Heen tfheen at varnish-cache.org
Mon Apr 16 10:20:35 CEST 2012


commit b1f19faa1976250b050313df55a2165d131d9cc1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 8 13:10:24 2011 +0000

    Add a new stats counter for "gone" marked bans

diff --git a/include/vsc_fields.h b/include/vsc_fields.h
index 4b142d2..dddb235 100644
--- a/include/vsc_fields.h
+++ b/include/vsc_fields.h
@@ -139,12 +139,13 @@ VSC_F(n_vcl,		uint64_t, 0, 'a', "N vcl total", "")
 VSC_F(n_vcl_avail,		uint64_t, 0, 'a', "N vcl available", "")
 VSC_F(n_vcl_discard,	uint64_t, 0, 'a', "N vcl discarded", "")
 
-VSC_F(n_ban,		uint64_t, 0, 'i', "N total active bans", "")
+VSC_F(n_ban,			uint64_t, 0, 'i', "N total active bans", "")
+VSC_F(n_ban_gone,		uint64_t, 0, 'i', "N total gone bans", "")
 VSC_F(n_ban_add,		uint64_t, 0, 'a', "N new bans added", "")
-VSC_F(n_ban_retire,	uint64_t, 0, 'a', "N old bans deleted", "")
-VSC_F(n_ban_obj_test,	uint64_t, 0, 'a', "N objects tested", "")
-VSC_F(n_ban_re_test,	uint64_t, 0, 'a', "N regexps tested against", "")
-VSC_F(n_ban_dups,	uint64_t, 0, 'a', "N duplicate bans removed", "")
+VSC_F(n_ban_retire,		uint64_t, 0, 'a', "N old bans deleted", "")
+VSC_F(n_ban_obj_test,		uint64_t, 0, 'a', "N objects tested", "")
+VSC_F(n_ban_re_test,		uint64_t, 0, 'a', "N regexps tested against", "")
+VSC_F(n_ban_dups,		uint64_t, 0, 'a', "N duplicate bans removed", "")
 
 VSC_F(hcb_nolock,		uint64_t, 0, 'a', "HCB Lookups without lock", "")
 VSC_F(hcb_lock,		uint64_t, 0, 'a', "HCB Lookups with lock", "")



More information about the varnish-commit mailing list