Andrew Wang created HADOOP-10120:
------------------------------------
Summary: Additional sliding window metrics
Key: HADOOP-10120
URL: https://issues.apache.org/jira/browse/HADOOP-10120
Project: Hadoop Common
Issue Type: New Feature
Components: metrics
Affects Versions: 2.2.0
Reporter: Andrew Wang
Assignee: Andrew Wang
For HDFS-5350 we'd like to report the last few fsimage transfer times as a
health metric. This would mean (for example) a sliding window of the last 10
transfer times, when it was last updated, the total count. It'd be nice to have
a metrics class that did this.
It'd also be interesting to have some kind of time-based sliding window for
statistics like counts and averages. This would let us answer questions like
"how many RPCs happened in the last 10s? minute? 5 minutes? 10 minutes?".
Commutative metrics like counts and averages are easy to aggregate in this
fashion.
--
This message was sent by Atlassian JIRA
(v6.1#6144)