ihji commented on a change in pull request #13017:
URL: https://github.com/apache/beam/pull/13017#discussion_r508831092
##########
File path: sdks/python/apache_beam/metrics/metric.py
##########
@@ -293,3 +339,49 @@ def with_steps(self, steps):
self._steps.update(steps)
return self
+
+
+class MetricLogger(object):
Review comment:
`MetricLogger` stores separate metric values from `MetricEnvironment`
for reporting a single aggregated result to the logger. In this PR, it's used
for keeping process-wide API latency histogram values and periodically logging
it. So I think changing `MetricEnvironment` doesn't have any effect here.
----------------------------------------------------------------
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]