Documentation ¶
Overview ¶
Package httptrace provides helpers for integrating http servers into distributed tracing results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHTTPSpan ¶
func StartHTTPSpan(ctx context.Context, tracer opentracing.Tracer, req *http.Request, resource string, startTime time.Time, extra ...opentracing.StartSpanOption) (opentracing.Span, *http.Request)
StartHTTPSpan opens a span and creates a new request with a modified context, based on the span that was opened.
func Tracer ¶
func Tracer(tracer opentracing.Tracer) webutil.HTTPTracer
Tracer returns an HTTP tracer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.