performance-analyzer icon indicating copy to clipboard operation
performance-analyzer copied to clipboard

Update the Cache Hit, Miss and Eviction metrics to be emitted as delta increase/decrease

Open khushbr opened this issue 4 years ago • 0 comments

Similar to https://github.com/opendistro-for-elasticsearch/performance-analyzer/pull/124, we need to emit the cache hit, miss and eviction metrics as delta rather than absolute values. ES reports these metrics from beginning of process/post an invalidateAll() event/ post cache clear.

We need to calculate metrics count delta between each sampling to correctly reflect the increase/decrease in the metric count for the evaluation Interval (5seconds for us)

This needs to be fixed for FieldData, Shard Request and Node Query Cache.

khushbr avatar Aug 06 '20 22:08 khushbr