[4.1] 660d9b1 Add long descriptions for stevedore counters.

Lasse Karstensen lkarsten at varnish-software.com
Fri Sep 4 15:54:56 CEST 2015


commit 660d9b1da311cd2d3de72be9e8c74702c24e7ec9
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Thu Aug 27 16:19:11 2015 +0200

    Add long descriptions for stevedore counters.
    
    I often have to look up which one is which, try to avoid
    that in the future.

diff --git a/include/tbl/vsc_fields.h b/include/tbl/vsc_fields.h
index 7d45f5c..fcf342f 100644
--- a/include/tbl/vsc_fields.h
+++ b/include/tbl/vsc_fields.h
@@ -123,31 +123,31 @@ VSC_F(locks,			uint64_t, 0, 'c', 'i', debug,
 #if defined(VSC_DO_SMA) || defined (VSC_DO_SMF)
 VSC_F(c_req,			uint64_t, 0, 'c', 'i', info,
     "Allocator requests",
-	""
+	"Number of times the storage has been asked to provide a storage segment."
 )
 VSC_F(c_fail,			uint64_t, 0, 'c', 'i', info,
     "Allocator failures",
-	""
+	"Number of times the storage has failed to provide a storage segment."
 )
 VSC_F(c_bytes,			uint64_t, 0, 'c', 'B', info,
     "Bytes allocated",
-	""
+	"Number of total bytes allocated by this storage."
 )
 VSC_F(c_freed,			uint64_t, 0, 'c', 'B', info,
     "Bytes freed",
-	""
+	"Number of total bytes returned to this storage."
 )
 VSC_F(g_alloc,			uint64_t, 0, 'g', 'i', info,
     "Allocations outstanding",
-	""
+	"Number of storage allocations outstanding."
 )
 VSC_F(g_bytes,			uint64_t, 0, 'g', 'B', info,
     "Bytes outstanding",
-	""
+	"Number of bytes allocated from the storage."
 )
 VSC_F(g_space,			uint64_t, 0, 'g', 'B', info,
     "Bytes available",
-	""
+	"Number of bytes left in the storage."
 )
 #endif
 



More information about the varnish-commit mailing list