[
https://issues.apache.org/jira/browse/BEAM-11018?focusedWorklogId=500310&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-500310
]
ASF GitHub Bot logged work on BEAM-11018:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Oct/20 22:02
Start Date: 13/Oct/20 22:02
Worklog Time Spent: 10m
Work Description: ajamato commented on a change in pull request #13017:
URL: https://github.com/apache/beam/pull/13017#discussion_r504283933
##########
File path: sdks/python/apache_beam/metrics/metric.py
##########
@@ -139,6 +169,22 @@ def __init__(self, metric_name):
super(Metrics.DelegatingGauge, self).__init__(metric_name)
self.set = MetricUpdater(cells.GaugeCell, metric_name) # type:
ignore[assignment]
+ class DelegatingHistogram(Histogram):
Review comment:
Please move histogram related code into a new 'internal' file
sdks/python/apache_beam/internal/metrics/metric.py
Please move DelegatingHistogram to the new file
add a Metric class to the new file, and put the histogram definition there.
It can share the infrastructure and call things in this file.
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 500310)
Time Spent: 3h 20m (was: 3h 10m)
> Use metric for Python BigQuery streaming insert API latency logging
> -------------------------------------------------------------------
>
> Key: BEAM-11018
> URL: https://issues.apache.org/jira/browse/BEAM-11018
> Project: Beam
> Issue Type: Improvement
> Components: io-py-gcp
> Reporter: Heejong Lee
> Assignee: Heejong Lee
> Priority: P2
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> Use metric for Python BigQuery streaming insert API latency logging
--
This message was sent by Atlassian Jira
(v8.3.4#803005)