Versions in this module Expand all Collapse all v1 v1.5.0 Nov 30, 2021 v1.4.6 Oct 28, 2021 Changes in this version + const RequestIDHeaderKey + type ClientOption func(*clientOptions) + func ClientSpanObserver(f func(span opentracing.Span, r *http.Request)) ClientOption + func ClientTrace(enabled bool) ClientOption + func ComponentName(componentName string) ClientOption + func InjectSpanContext(enabled bool) ClientOption + func OperationName(operationName string) ClientOption + type Tracer struct + func TraceRequest(tr opentracing.Tracer, req *http.Request, options ...ClientOption) (*http.Request, *Tracer) + func TracerFromRequest(req *http.Request) *Tracer + func (h *Tracer) Finish() + func (h *Tracer) Span() opentracing.Span + type Transport struct + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)