mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 18:38:30 +00: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
1 changed files with 2 additions and 1 deletions
|
@ -238,7 +238,8 @@ my %ASPECTS = (
|
||||||
'client_req' => {
|
'client_req' => {
|
||||||
'type' => 'DERIVE',
|
'type' => 'DERIVE',
|
||||||
'min' => '0',
|
'min' => '0',
|
||||||
'graph' => 'off'
|
'graph' => 'off',
|
||||||
|
'rpn' => [ 'cache_hit' , 'cache_miss' , 'cache_hitpass' , '+' , '+' ]
|
||||||
},
|
},
|
||||||
'cache_hit' => {
|
'cache_hit' => {
|
||||||
'type' => 'DERIVE',
|
'type' => 'DERIVE',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue