Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Trace should provide a method to get active span like other language API does #141

Open
ghughal opened this issue Feb 6, 2020 · 0 comments

Comments

@ghughal
Copy link

ghughal commented Feb 6, 2020

Java Tracer api has a way to get current active tracer.

https://github.com/opentracing/opentracing-java/blob/master/opentracing-api/src/main/java/io/opentracing/Tracer.java#L44

Javascript api should provide the same thing. Without that it becomes cumbersome to pass around root span throughout code base.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant