fredia commented on code in PR #22787:
URL: https://github.com/apache/flink/pull/22787#discussion_r1247756552


##########
flink-runtime/src/main/java/org/apache/flink/runtime/metrics/groups/TaskIOMetricGroup.java:
##########
@@ -182,6 +186,10 @@ public TimerGauge getHardBackPressuredTimePerSecond() {
         return hardBackPressuredTimePerSecond;
     }
 
+    public TimerGauge getChangelogBusyTimeMsPerSecond() {
+        return changelogBusyTimeMsPerSecond;
+    }
+

Review Comment:
   Currently, `busy time = total time - idle time - backpressure time`, I think 
the `changelog busy time` will be automatically calculated into the `total busy 
time`, I added `testConsistencyOfTime()` to verify this.



-- 
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]

Reply via email to