r2450 - trunk/varnish-cache/include

phk at projects.linpro.no phk at projects.linpro.no
Wed Feb 13 11:57:17 CET 2008

Author: phk
Date: 2008-02-13 11:57:17 +0100 (Wed, 13 Feb 2008)
New Revision: 2450

Add two new stat fields for counting bereq's and backends.

Modified: trunk/varnish-cache/include/stat_field.h
--- trunk/varnish-cache/include/stat_field.h	2008-02-13 10:56:36 UTC (rev 2449)
+++ trunk/varnish-cache/include/stat_field.h	2008-02-13 10:57:17 UTC (rev 2450)
@@ -52,6 +52,7 @@
 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_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")

More information about the varnish-commit mailing list