Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer represents a wrapper for OpenTracing that implements tracing.Tracer.
func NewTracer ¶
func NewTracer(tracer opentracing.Tracer) *Tracer
NewTracer returns a new instance of Tracer.
func (*Tracer) ExtractHTTPHeaders ¶
ExtractHTTPHeaders reads the HTTP headers to derive incoming context.
func (*Tracer) InjectHTTPHeaders ¶
InjectHTTPHeaders adds the required HTTP headers to pass context between nodes.
Click to show internal directories.
Click to hide internal directories.