[6.0] aea1eafd5 Fix varnish_vsc metrics type

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Oct 31 13:08:24 UTC 2018

commit aea1eafd5b0518ffad4cb94a7b9163a8ec2857d4
Author: Emmanuel Hocdet <manu at gandi.net>
Date:   Wed Sep 26 12:03:07 2018 +0200

    Fix varnish_vsc metrics type

diff --git a/bin/varnishd/VSC_main.vsc b/bin/varnishd/VSC_main.vsc
index 3f42feb1c..88a22bb86 100644
--- a/bin/varnishd/VSC_main.vsc
+++ b/bin/varnishd/VSC_main.vsc
@@ -363,20 +363,17 @@
 	Number of backends known to us.
 .. varnish_vsc:: n_expired
-	:type:	gauge
 	:oneliner:	Number of expired objects
 	Number of objects that expired from cache because of old age.
 .. varnish_vsc:: n_lru_nuked
-	:type:	gauge
 	:oneliner:	Number of LRU nuked objects
 	How many objects have been forcefully evicted from storage to make
 	room for a new object.
 .. varnish_vsc:: n_lru_moved
-	:type:	gauge
 	:level:	diag
 	:oneliner:	Number of LRU moved objects
@@ -780,12 +777,10 @@
 	bans in the persistent ban lists.
 .. varnish_vsc:: n_purges
-	:type:	gauge
 	:oneliner:	Number of purge operations executed
 .. varnish_vsc:: n_obj_purged
-	:type:	gauge
 	:oneliner:	Number of purged objects

More information about the varnish-commit mailing list