Skip to content

Update SpanProcessor.OnStart to receive parent Context. #1785

@Oberon00

Description

@Oberon00

See spec at https://github.com/open-telemetry/opentelemetry-specification/blob/7e0c10260178b947777cf9c11d7f7ac4d4700725/specification/trace/sdk.md#onstart

parentContext - the parent Context of the span that the SDK determined (the explicitly passed Context, the current Context or an empty Context if that was explicitly requested).

This was introduced in open-telemetry/opentelemetry-specification#875 but was not handled in #1611.

Current signature (at time of issue creation):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions