File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,6 +85,11 @@ collection_group {
8585 title = "Number of valid items removed from cache to free memory for new items"
8686 value_threshold = 0
8787 }
88+ metric {
89+ name = "mc_evictions_rate"
90+ title = "Rate of valid items removed from cache to free memory for new items"
91+ value_threshold = 0
92+ }
8893 metric {
8994 name = "mc_get_hits"
9095 title = "Number of keys that have been requested and found present "
Original file line number Diff line number Diff line change @@ -214,6 +214,12 @@ def metric_init(params):
214214 "slope" : "both" ,
215215 "description" : "Number of valid items removed from cache to free memory for new items" ,
216216 }))
217+ descriptors .append (create_desc (Desc_Skel , {
218+ "name" : mp + "_evictions_rate" ,
219+ "units" : "items" ,
220+ "slope" : "both" ,
221+ "description" : "Evictions per second" ,
222+ }))
217223 descriptors .append (create_desc (Desc_Skel , {
218224 "name" : mp + "_get_hits" ,
219225 "units" : "items" ,
You can’t perform that action at this time.
0 commit comments