Versions in this module Expand all Collapse all v1 v1.20.1 Jan 15, 2020 Changes in this version + type FinishConfig struct + Error error + FinishTime time.Time + NoDebugStack bool + SkipStackFrames uint + StackFrames uint + type FinishOption func(cfg *FinishConfig) + type Logger interface + Log func(msg string) + type Span interface + BaggageItem func(key string) string + Context func() SpanContext + Finish func(opts ...FinishOption) + SetBaggageItem func(key, val string) + SetOperationName func(operationName string) + SetTag func(key string, value interface{}) + type SpanContext interface + ForeachBaggageItem func(handler func(k, v string) bool) + SpanID func() uint64 + TraceID func() uint64 + type StartSpanConfig struct + Parent SpanContext + SpanID uint64 + StartTime time.Time + Tags map[string]interface{} + type StartSpanOption func(cfg *StartSpanConfig) + type Tracer interface + Extract func(carrier interface{}) (SpanContext, error) + Inject func(context SpanContext, carrier interface{}) error + StartSpan func(operationName string, opts ...StartSpanOption) Span + Stop func()