Versions in this module Expand all Collapse all v1 v1.1.0 Apr 22, 2020 v1.0.0 Sep 29, 2016 Changes in this version + var Delegator delegatorType + func New(recorder SpanRecorder) opentracing.Tracer + func NewWithOptions(opts Options) opentracing.Tracer + type DelegatingCarrier interface + GetBaggage func(func(key, value string)) + SetBaggageItem func(key, value string) + SetState func(traceID, spanID uint64, sampled bool) + State func() (traceID, spanID uint64, sampled bool) + type EventBaggage struct + Key string + Value string + type EventCreate struct + OperationName string + type EventFinish RawSpan + type EventLog opentracing.LogData + type EventLogFields opentracing.LogRecord + type EventTag struct + Key string + Value interface{} + type InMemorySpanRecorder struct + func NewInMemoryRecorder() *InMemorySpanRecorder + func (r *InMemorySpanRecorder) GetSampledSpans() []RawSpan + func (r *InMemorySpanRecorder) GetSpans() []RawSpan + func (r *InMemorySpanRecorder) RecordSpan(span RawSpan) + func (r *InMemorySpanRecorder) Reset() + type Options struct + DebugAssertSingleGoroutine bool + DebugAssertUseAfterFinish bool + DropAllLogs bool + EnableSpanPool bool + MaxLogsPerSpan int + NewSpanEventListener func() func(SpanEvent) + Recorder SpanRecorder + ShouldSample func(traceID uint64) bool + TrimUnsampledSpans bool + func DefaultOptions() Options + type RawSpan struct + Context SpanContext + Duration time.Duration + Logs []opentracing.LogRecord + Operation string + ParentSpanID uint64 + Start time.Time + Tags opentracing.Tags + type Span interface + Operation func() string + Start func() time.Time + type SpanContext struct + Baggage map[string]string + Sampled bool + SpanID uint64 + TraceID uint64 + func (c SpanContext) ForeachBaggageItem(handler func(k, v string) bool) + func (c SpanContext) WithBaggageItem(key, val string) SpanContext + type SpanEvent interface + type SpanRecorder interface + RecordSpan func(span RawSpan) + type Tracer interface + Options func() Options