bvolpato commented on code in PR #28513:
URL: https://github.com/apache/beam/pull/28513#discussion_r1340172135


##########
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:
   I don't think it makes sense to sum/aggregate thread # in general. This will 
monotonically increase for each call



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