Hello
Does is comply to the standard?
I find it much more easy to understand than current io.opentracing.util.ThreadLocalScopeManager and, more importantly, it has the benefit of the thread-local reference being immutable. This allows for easy cooperation with kotlin coroutines.
CoroutinesScope(GlobalTracer.get().scopeManager().tlsScope.asContextElement()) and voila! Coroutines context-local tracing.