opentelemetry-rust
opentelemetry-rust copied to clipboard
Trace SDK and Context access issue
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