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

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

                Author: ASF GitHub Bot
            Created on: 26/Mar/18 20:04
            Start Date: 26/Mar/18 20:04
    Worklog Time Spent: 10m 
      Work Description: herohde commented on a change in pull request #4899: 
[BEAM-3545] Go SDK UserCounters
URL: https://github.com/apache/beam/pull/4899#discussion_r177209254
 
 

 ##########
 File path: sdks/go/pkg/beam/core/runtime/harness/harness.go
 ##########
 @@ -203,20 +204,44 @@ func (c *control) handleInstruction(ctx context.Context, 
req *fnpb.InstructionRe
 
                err := plan.Execute(ctx, id, c.data)
 
+               snapshot := plan.ProgressReport()
+               planID := plan.ID()
                // Move the plan back to the candidate state
                c.mu.Lock()
                c.plans[plan.ID()] = plan
                delete(c.active, id)
                c.mu.Unlock()
 
+               transforms := map[string]*fnpb.Metrics_PTransform{
 
 Review comment:
   Could plan.ProgressReport return transforms instead? Then we'd also not need 
to expose the ParDoIDs.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 84532)
    Time Spent: 4h  (was: 3h 50m)

> 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: 4h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to