[4.1] 32fceb3 VSC n_vcl, n_vcl_avail, n_vcl_discard are gauge

Federico G. Schwindt fgsch at lodoss.net
Mon Aug 7 14:07:10 CEST 2017


commit 32fceb3bd3922a52d536a12b77e8c7e1d3d49198
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Mon Aug 7 13:02:32 2017 +0100

    VSC n_vcl, n_vcl_avail, n_vcl_discard are gauge
    
    From Emmanuel Hocdet (manu-at-gandi-dot-net) via #2373.

diff --git a/include/tbl/vsc_f_main.h b/include/tbl/vsc_f_main.h
index ab926d9..c3b53bd 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -442,15 +442,15 @@ VSC_F(backend_req,		uint64_t, 0, 'c', 'i', info,
 
 /*--------------------------------------------------------------------*/
 
-VSC_F(n_vcl,			uint64_t, 0, 'c', 'i', info,
+VSC_F(n_vcl,			uint64_t, 0, 'g', 'i', info,
     "Number of loaded VCLs in total",
 	""
 )
-VSC_F(n_vcl_avail,		uint64_t, 0, 'c', 'i', diag,
+VSC_F(n_vcl_avail,		uint64_t, 0, 'g', 'i', diag,
     "Number of VCLs available",
 	""
 )
-VSC_F(n_vcl_discard,		uint64_t, 0, 'c', 'i', diag,
+VSC_F(n_vcl_discard,		uint64_t, 0, 'g', 'i', diag,
     "Number of discarded VCLs",
 	""
 )



More information about the varnish-commit mailing list