opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

Trace SDK and Context access issue

Open cijothomas opened this issue 9 months ago • 0 comments

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: https://github.com/open-telemetry/opentelemetry-specification/issues/867

cijothomas avatar Mar 27 '25 13:03 cijothomas