performance-analyzer
performance-analyzer copied to clipboard
Update the Cache Hit, Miss and Eviction metrics to be emitted as delta increase/decrease
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.