[ 
https://issues.apache.org/jira/browse/BEAM-11032?focusedWorklogId=535720&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-535720
 ]

ASF GitHub Bot logged work on BEAM-11032:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jan/21 21:31
            Start Date: 13/Jan/21 21:31
    Worklog Time Spent: 10m 
      Work Description: ihji commented on a change in pull request #13491:
URL: https://github.com/apache/beam/pull/13491#discussion_r556848262



##########
File path: 
sdks/java/extensions/google-cloud-platform-core/src/main/java/org/apache/beam/sdk/extensions/gcp/util/LatencyRecordingHttpRequestInitializer.java
##########
@@ -23,14 +23,26 @@
 import com.google.api.client.http.HttpResponse;
 import com.google.api.client.http.HttpResponseInterceptor;
 import java.io.IOException;
-import org.apache.beam.sdk.util.Histogram;
+import org.apache.beam.sdk.metrics.Histogram;
+import org.apache.beam.sdk.metrics.Metrics;
+import org.apache.beam.sdk.util.HistogramData;
 
 /** HttpRequestInitializer for recording request to response latency of 
Http-based API calls. */
 public class LatencyRecordingHttpRequestInitializer implements 
HttpRequestInitializer {
+  public static final String HISTOGRAM_NAME = "latency_ms";

Review comment:
       Done.




----------------------------------------------------------------
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: 535720)
    Time Spent: 1h 40m  (was: 1.5h)

> Use metric for Java BigQuery streaming insert API latency logging
> -----------------------------------------------------------------
>
>                 Key: BEAM-11032
>                 URL: https://issues.apache.org/jira/browse/BEAM-11032
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-py-gcp
>            Reporter: Heejong Lee
>            Priority: P2
>              Labels: stale-P2
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Use metric for Java BigQuery streaming insert API latency logging



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to