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

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

                Author: ASF GitHub Bot
            Created on: 13/Feb/20 02:16
            Start Date: 13/Feb/20 02:16
    Worklog Time Spent: 10m 
      Work Description: lostluck commented on pull request #10777: [BEAM-3545] 
Return metrics as MonitoringInfos
URL: https://github.com/apache/beam/pull/10777#discussion_r378618131
 
 

 ##########
 File path: sdks/go/pkg/beam/core/runtime/exec/datasource.go
 ##########
 @@ -37,11 +37,13 @@ type DataSource struct {
        Coder *coder.Coder
        Out   Node
 
-       source   DataManager
-       state    StateReader
-       index    int64
-       splitIdx int64
-       start    time.Time
+       source DataManager
+       state  StateReader
+       // TODO(lostluck) 2020/02/06: refactor to support more general 
PCollection metrics on nodes.
+       outputPID string // The index is the output count for the PCollection.
 
 Review comment:
   Ack. Good point. 
   This is to support the existing one off, and isn't going to be long term 
code. I'm already working on the stated TODO to handle metrics for all 
PCollections in the SDK. As it stands, the legacy metrics and monitoring infos 
use different identifiers for progress signals, so there's going to be a mess 
anyway.
 
----------------------------------------------------------------
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: 386357)
    Time Spent: 16h 10m  (was: 16h)

> Fn API metrics in Go SDK harness
> --------------------------------
>
>                 Key: BEAM-3545
>                 URL: https://issues.apache.org/jira/browse/BEAM-3545
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-go
>            Reporter: Kenneth Knowles
>            Assignee: Robert Burke
>            Priority: Major
>              Labels: portability
>          Time Spent: 16h 10m
>  Remaining Estimate: 0h
>




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

Reply via email to