robertwb commented on a change in pull request #14482:
URL: https://github.com/apache/beam/pull/14482#discussion_r611905311
##########
File path:
runners/core-java/src/main/java/org/apache/beam/runners/core/metrics/SimpleStateRegistry.java
##########
@@ -56,4 +58,12 @@ public void reset() {
}
return monitoringInfos;
}
+
+ public Map<String, ByteString> getExecutionTimeMonitoringData(ShortIdMap
shortIds) {
+ ImmutableMap.Builder<String, ByteString> builder = ImmutableMap.builder();
+ for (SimpleExecutionState state : executionStates) {
+ builder.put(state.getTotalMillisShortId(shortIds),
state.getTotalMillisPayload());
Review comment:
I'll do that as a follow up, after confirming it really doesn't matter.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]