otterc commented on a change in pull request #34074:
URL: https://github.com/apache/spark/pull/34074#discussion_r779162622
##########
File path:
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/RemoteBlockPushResolver.java
##########
@@ -1410,4 +1442,42 @@ long getPos() {
return pos;
}
}
+
+ /**
+ * A class that wraps all the push-based metrics.
+ */
+ static class PushMergeMetrics implements MetricSet {
+ static final String NO_OPPORTUNITY_RESPONSES_METRIC =
"couldNotFindOpportunityResponses";
+ static final String TOO_LATE_RESPONSES_METRIC = "tooLateResponses";
+ static final String PUSHED_BYTES_WRITTEN_METRIC = "pushedBytesWritten";
+ static final String CACHED_BLOCKS_BYTES_METRIC = "cachedBlocksBytes";
+
+ private final Map<String, Metric> allMetrics;
+ private final Meter noOpportunityResponses;
+ private final Meter tooLateResponses;
+ private final Meter pushedBytesWritten;
+ private final Counter cachedBlockBytes;
Review comment:
We should document what these metrics mean.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]