zhijiangW commented on a change in pull request #8181: [FLINK-12199][network]
Refactor IOMetrics to not distinguish between local/remote in/out bytes
URL: https://github.com/apache/flink/pull/8181#discussion_r279328431
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java
##########
@@ -561,6 +567,7 @@ public void requestPartitions() throws IOException,
InterruptedException {
}
final Buffer buffer = result.get().buffer();
+ numBytesIn.inc(buffer.getSizeUnsafe());
Review comment:
We add a new total metric used for all the existing handlers which keep the
same behavior as before, then the existing local/remote metrics inside
`NetworkEnvironment` could also be visible for outside users.
----------------------------------------------------------------
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]
With regards,
Apache Git Services