Github user rmetzger commented on a diff in the pull request: https://github.com/apache/flink/pull/2616#discussion_r84696513 --- Diff: flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java --- @@ -147,11 +143,36 @@ public String handleRequest(ExecutionGraph graph, Map<String, String> params) th } gen.writeEndObject(); + long numBytesIn = 0; + long numBytesOut = 0; + long numRecordsIn = 0; + long numRecordsOut = 0; + + for (ExecutionVertex vertex : ejv.getTaskVertices()) { + IOMetrics ioMetrics = vertex.getCurrentExecutionAttempt().getIOMetrics(); + + if (ioMetrics != null) { // execAttempt is already finished, use final metrics stored in ExecutionGraph + numBytesIn += ioMetrics.getNumBytesInLocal() + ioMetrics.getNumBytesInRemote(); --- End diff -- (no need to update) There's a `getNumBytesInTotal()` method for this ;)
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---