Révision 7041db39
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).
| plugins/varnish4/varnish4_ | ||
|---|---|---|
| 238 | 238 |
'client_req' => {
|
| 239 | 239 |
'type' => 'DERIVE', |
| 240 | 240 |
'min' => '0', |
| 241 |
'graph' => 'off' |
|
| 241 |
'graph' => 'off', |
|
| 242 |
'rpn' => [ 'cache_hit' , 'cache_miss' , 'cache_hitpass' , '+' , '+' ] |
|
| 242 | 243 |
}, |
| 243 | 244 |
'cache_hit' => {
|
| 244 | 245 |
'type' => 'DERIVE', |
Formats disponibles : Unified diff