There are some places where globalTracer is referenced instead of the opentracing.GlobalTracer(). If these ever differ (which is entirely possible), this breaks assumptions about how this library integrates with opentracing.
๐ Details
If nil is passed as the tracer to newTrace (which is incredibly common), use opentracing's global tracer instead of baseplate's.
๐งช Testing Steps / Validation
โ Checks
[ ] CI tests (if present) are passing
[ ] Adheres to code style for repo
[ ] Contributor License Agreement (CLA) completed if not a Reddit employee
๐ธ TL;DR
There are some places where
globalTracer
is referenced instead of theopentracing.GlobalTracer()
. If these ever differ (which is entirely possible), this breaks assumptions about how this library integrates with opentracing.๐ Details
If
nil
is passed as thetracer
tonewTrace
(which is incredibly common), use opentracing's global tracer instead of baseplate's.๐งช Testing Steps / Validation
โ Checks