[master] 78e7b84 Add a new stats counter for "gone" marked bans
Poul-Henning Kamp
phk at varnish-cache.org
Tue Nov 8 14:10:36 CET 2011
commit 78e7b84010fc8db7a1b9ad35ff76b80f8323d1c1
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/tbl/vsc_fields.h b/include/tbl/vsc_fields.h
index 0fd7e46..904a9e2 100644
--- a/include/tbl/vsc_fields.h
+++ b/include/tbl/vsc_fields.h
@@ -297,12 +297,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