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

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

                Author: ASF GitHub Bot
            Created on: 30/Aug/21 18:12
            Start Date: 30/Aug/21 18:12
    Worklog Time Spent: 10m 
      Work Description: scwhittle commented on a change in pull request #15420:
URL: https://github.com/apache/beam/pull/15420#discussion_r698700733



##########
File path: 
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java
##########
@@ -898,6 +896,7 @@ public void deleteDataset(String projectId, String 
datasetId)
                           
BackOffAdapter.toGcpBackOff(rateLimitBackoffFactory.backoff());
                       long totalBackoffMillis = 0L;
                       while (true) {
+                        ServiceCallMetric serviceCallMetric = 
BigQueryUtils.writeCallMetric(ref);

Review comment:
       seems like it could be lifted out of while loop
   
   but at a higher level it seemed like the ServiceCallMetric had some caching, 
would it be better to just add synchronization so that it still can be used 
across more calls?




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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 643642)
    Time Spent: 24h  (was: 23h 50m)

> Java BigQuery - Implement IO Request Count metrics
> --------------------------------------------------
>
>                 Key: BEAM-11994
>                 URL: https://issues.apache.org/jira/browse/BEAM-11994
>             Project: Beam
>          Issue Type: Test
>          Components: io-java-gcp
>            Reporter: Alex Amato
>            Assignee: Alex Amato
>            Priority: P2
>              Labels: stale-assigned
>          Time Spent: 24h
>  Remaining Estimate: 0h
>
> Reference PRs (See BigQuery IO example) and detailed explanation of what's 
> needed to instrument this IO with Request Count metrics is found in this 
> handoff doc:
> [https://docs.google.com/document/d/1lrz2wE5Dl4zlUfPAenjXIQyleZvqevqoxhyE85aj4sc/edit'|https://docs.google.com/document/d/1lrz2wE5Dl4zlUfPAenjXIQyleZvqevqoxhyE85aj4sc/edit'?authuser=0]



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

Reply via email to