[ 
https://issues.apache.org/jira/browse/BEAM-9667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Burke updated BEAM-9667:
-------------------------------
    Status: Open  (was: Triage Needed)

> Allow metrics use during DoFn Setup
> -----------------------------------
>
>                 Key: BEAM-9667
>                 URL: https://issues.apache.org/jira/browse/BEAM-9667
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Robert Burke
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> User found a bug where runners were crashing because the PTransform label for 
> metrics were not being populated by the Go SDK. It was narrowed down to the 
> Setup method not populating the PTransformId context, but providing a bundle 
> context.
> As long as users aren't caching the context in their DoFns, populating the 
> PTransformID for Setup should be safe as long as we don't cache it, as the 
> bundle Id will be different for subsequent executions.



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

Reply via email to