Versions in this module Expand all Collapse all v1 v1.9.1 May 9, 2025 v1.9.0 May 9, 2025 Changes in this version + const ForceTracingAttributeKey + const ForceTracingBaggageKey + func Bridge(tp *tracesdk.TracerProvider, l log.Logger) (opentracing.Tracer, io.Closer) + func ContextTracing_ClientDisablesTracing(t *testing.T, exp *tracetest.InMemoryExporter, ...) + func ContextTracing_ForceTracing(t *testing.T, exp *tracetest.InMemoryExporter, ...) + func ContextWithTracer(ctx context.Context, tracer opentracing.Tracer) context.Context + func CopyTraceContext(trgt, src context.Context) context.Context + func CountSampledSpans(ss tracetest.SpanStubs) int + func CountSpans_ClientEnablesTracing(t *testing.T, exp *tracetest.InMemoryExporter, ...) + func DoInSpan(ctx context.Context, operationName string, doFn func(context.Context), ...) + func DoInSpanWithErr(ctx context.Context, operationName string, doFn func(context.Context) error, ...) error + func DoWithSpan(ctx context.Context, operationName string, doFn func(context.Context, Span), ...) + func GetTraceIDFromBridgeSpan(span opentracing.Span) (string, bool) + func SamplerWithOverride(baseSampler tracesdk.Sampler, overrideKey attribute.Key) tracesdk.Sampler + type Span = opentracing.Span + func StartSpan(ctx context.Context, operationName string, opts ...opentracing.StartSpanOption) (Span, context.Context) + type Tag = opentracing.Tag + type Tags = opentracing.Tags + type Tracer interface + GetTraceIDFromSpanContext func(ctx opentracing.SpanContext) (string, bool)