You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2021/10/05 16:17:00 UTC

[jira] [Updated] (BEAM-9667) Allow metrics use during DoFn Setup

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

Robert Burke updated BEAM-9667:
-------------------------------
      Assignee: Robert Burke
    Resolution: Fixed
        Status: Resolved  (was: Open)

> 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
>            Assignee: Robert Burke
>            Priority: P3
>          Time Spent: 0.5h
>  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)