Closed tlasica closed 3 years ago
I propose to fix it by:
eviction_duration
_get_stats()
to rely on assumption that eviction event is followed by eviction duration eventnice catch and great work, not sure how this got broken as we have filter cache reports with byte evictions. Will take a look at this today.
fixed in #69
Problem example:
Root cause analysis
The problem is caused by incorrect recognition of the events:
eviction_items_duration
andeviction_bytes_duration
. First problem is that regexp for theeviction_bytes_duration
is incorrect as it lacksusage_unit
. After fixing it we have two identical rules and order of declaration takes precendence. As a result we havebytes_eviction
events butitems_duration
events. In effect we have no information about duration and whole analysis return no value.