Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Pool = new(pool)
Pool keeps track of instantiated tracers and provides a helper method for closing all of them at once.
Functions ¶
func GetTracer ¶
GetTracer obtains and returns a new Jaeger tracer. To ensure that none of the traced spans are lost, callers must call Close on the exported Pool object before their application exits.
Note: this method will force Jaeger to capture every emitted span to make testing easier.
func MustGetTracer ¶
func MustGetTracer(serviceName string) opentracing.Tracer
MustGetTracer obtains and returns a new Jaeger tracer or panics if any error occurs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.