Log Message: |
Ability to calculate the blockcache hit ratio for the last few minutes
Summary:
The metric blockcacheHitRatio is since the beginning of time. It would be nice
to calculate the block cache hit ratio for the past few minutes.
This patch remembers the blockcacheHitRatio for the last 5 periods by default.
Test Plan: unit test attached.
Reviewers: jgray, khemani, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: nspiegelberg, dhruba
Differential Revision: 585
|