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
It would be nice to support an opentracing.Tracer given in constructor instead of using opentracing.StartSpanFromContext() which uses opentracing.GlobalTracer() underneath. This could be an optional feature controlled by an extra flag. I'd be happy to fork the project, add that functionality and make a PR if you would think something like that would be useful.
As an implementation detail, that tracer would be added as an extra field to the generated struct and be used when starting new spans.
Adrian
The text was updated successfully, but these errors were encountered:
Hi,
It would be nice to support an
opentracing.Tracer
given in constructor instead of usingopentracing.StartSpanFromContext()
which usesopentracing.GlobalTracer()
underneath. This could be an optional feature controlled by an extra flag. I'd be happy to fork the project, add that functionality and make a PR if you would think something like that would be useful.As an implementation detail, that tracer would be added as an extra field to the generated struct and be used when starting new spans.
Adrian
The text was updated successfully, but these errors were encountered: