Description
Currently DataNode uses same metrics to measure rpc latency of NameNode, but Active and Standby usually have different performance at the same time, especially in large cluster. For example, rpc latency of Standby is very long when Standby is catching up editlog. We may misunderstand the state of HDFS. Using different metrics for Active and standby can help us obtain more precise metric data.