|
@@ -107,6 +107,7 @@ public class DataNodeMetrics {
|
|
|
@Metric MutableRate replaceBlockOp;
|
|
|
@Metric MutableRate heartbeats;
|
|
|
@Metric MutableRate blockReports;
|
|
|
+ @Metric MutableRate incrementalBlockReports;
|
|
|
@Metric MutableRate cacheReports;
|
|
|
@Metric MutableRate packetAckRoundTripTimeNanos;
|
|
|
final MutableQuantiles[] packetAckRoundTripTimeNanosQuantiles;
|
|
@@ -201,6 +202,10 @@ public class DataNodeMetrics {
|
|
|
blockReports.add(latency);
|
|
|
}
|
|
|
|
|
|
+ public void addIncrementalBlockReport(long latency) {
|
|
|
+ incrementalBlockReports.add(latency);
|
|
|
+ }
|
|
|
+
|
|
|
public void addCacheReport(long latency) {
|
|
|
cacheReports.add(latency);
|
|
|
}
|