Skip to content

Trace SDK and Context access issue #2871

@cijothomas

Description

@cijothomas

Accessing current context on Span's OnEnd panics. OnBegin is fine, but OnBegin is given an explicit context, but OnEnd does not get any, so has to rely on current (which panics)

Related is the old spec issue: open-telemetry/opentelemetry-specification#867

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-traceArea: issues related to tracingbugSomething isn't workingcontext

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions