tvalentyn commented on code in PR #36737:
URL: https://github.com/apache/beam/pull/36737#discussion_r2500734441


##########
sdks/python/apache_beam/runners/worker/operations.py:
##########
@@ -808,8 +816,15 @@ def __init__(
     self.user_state_context = user_state_context
     self.tagged_receivers = None  # type: Optional[_TaggedReceivers]
     # A mapping of timer tags to the input "PCollections" they come in on.
+    # Force clean rebuild
     self.input_info = None  # type: Optional[OpInputInfo]
-
+    self.scoped_timer_processing_state = statesampler.NOOP_SCOPED_STATE
+    if self.state_sampler:
+      self.scoped_timer_processing_state = self.state_sampler.scoped_state(
+          self.name_context,
+          'process-timers',
+          metrics_container=self.metrics_container,
+          suffix="-millis")

Review Comment:
   are other counters / in other sdks reported with millis precision? if not 
wondering if we should be sticking with msec for constitency. 



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