Documentation
¶
Overview ¶
Package tracer provides functionality for using Jaeger and OpenTracing for instrumenting HTTP requests to collect metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RoundTripperFunc ¶
RoundTripperFunc allows functions to satisfy the http.RoundTripper interface.
func RoundTripper ¶
func RoundTripper(jaegerTracer opentracing.Tracer, instanceName string, next http.RoundTripper) RoundTripperFunc
RoundTripper is http.RoundTripper middleware to add Jaeger tracing to all HTTP requests.
Click to show internal directories.
Click to hide internal directories.