Documentation
¶
Overview ¶
Package tracing provides helpers for dealing with Open Tracing and Distributed Tracing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JaegerConfig ¶
type JaegerConfig struct { LocalAgentHostPort string SamplerType string SamplerValue float64 SamplerServerURL string }
JaegerConfig encapsulates jaeger's configuration.
type Tracer ¶
type Tracer struct { ServiceName string Provider string Logger logrus.FieldLogger JaegerConfig *JaegerConfig // contains filtered or unexported fields }
Tracer encapsulates tracing abilities.
func (*Tracer) ServeHTTP ¶
func (t *Tracer) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.