mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fix hit rate calculation
In varnish4, purges are counted as client_req but not as hit or miss anymore. This fix recalculates client_req based on cache_(hit|miss|hitpass).
This commit is contained in:
parent
de86866b02
commit
7041db3964
@ -238,7 +238,8 @@ my %ASPECTS = (
|
||||
'client_req' => {
|
||||
'type' => 'DERIVE',
|
||||
'min' => '0',
|
||||
'graph' => 'off'
|
||||
'graph' => 'off',
|
||||
'rpn' => [ 'cache_hit' , 'cache_miss' , 'cache_hitpass' , '+' , '+' ]
|
||||
},
|
||||
'cache_hit' => {
|
||||
'type' => 'DERIVE',
|
||||
|
Loading…
Reference in New Issue
Block a user