You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
Some `Debug` implementations access a span's extensions, for example a
`color_eyre` `Report` when printing a Spantrace.
This can currently lead to a deadlock because `tracing-opentelemetry`'s
tracing `Layer` holds an `extensions_mut()` guard for its Span while
recording the event.
## Solution
Move the the `OtelData` out of the span to not hold the lock and later
write the extension back.
0 commit comments