edman124 commented on code in PR #28513:
URL: https://github.com/apache/beam/pull/28513#discussion_r1339151417
##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java:
##########
@@ -615,6 +617,11 @@ public static StreamingDataflowWorker
fromDataflowWorkerHarnessOptions(
this.timeAtMaxActiveThreads =
pendingCumulativeCounters.longSum(
StreamingSystemCounterNames.TIME_AT_MAX_ACTIVE_THREADS.counterName());
+ this.activeThreads =
+
pendingCumulativeCounters.intSum(StreamingSystemCounterNames.ACTIVE_THREADS.counterName());
+ this.maxActiveThreads =
+ pendingCumulativeCounters.intSum(
Review Comment:
We want just max number threads (more in next comment)
--
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]