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

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

                Author: ASF GitHub Bot
            Created on: 13/Aug/20 20:33
            Start Date: 13/Aug/20 20:33
    Worklog Time Spent: 10m 
      Work Description: robinyqiu commented on a change in pull request #12403:
URL: https://github.com/apache/beam/pull/12403#discussion_r470228614



##########
File path: 
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/StreamingDataflowWorker.java
##########
@@ -520,8 +526,11 @@ public int getSize() {
     private void translateKnownStepCounters(CounterUpdate stepCounterUpdate) {
       CounterStructuredName structuredName =
           stepCounterUpdate.getStructuredNameAndMetadata().getName();
-      if 
(THROTTLING_MSECS_METRIC_NAME.getNamespace().equals(structuredName.getOriginNamespace())
-          && 
THROTTLING_MSECS_METRIC_NAME.getName().equals(structuredName.getName())) {
+      if 
((THROTTLING_MSECS_METRIC_NAME.getNamespace().equals(structuredName.getOriginNamespace())
+              && 
THROTTLING_MSECS_METRIC_NAME.getName().equals(structuredName.getName()))
+          || (BIGQUERY_STREAMING_INSERT_THROTTLE_TIME_NAMESPACE.equals(

Review comment:
       Yes. GCS and Datastore counters are only consumed by batch worker (the 
`THROTTLING_MSECS_METRIC_NAME` counter here is a separate counter; I am not 
sure what this is. Maybe all throttling metrics should go to this counter? 
@ihji I saw you have a JIRA about it, not sure if this what you want to do).
   
   Here in the streaming case, precision is on millisecond (whereas GCS and 
DataStore only store seconds)




----------------------------------------------------------------
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: 470410)
    Time Spent: 1h 20m  (was: 1h 10m)

> Propagate BigQuery streaming insert throttled time to Dataflow worker
> ---------------------------------------------------------------------
>
>                 Key: BEAM-10597
>                 URL: https://issues.apache.org/jira/browse/BEAM-10597
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Robin Qiu
>            Assignee: Robin Qiu
>            Priority: P2
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>




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

Reply via email to