Versions in this module Expand all Collapse all v0 v0.6.1 Jan 19, 2018 Changes in this version + const Error type Configuration + GlobalTags map[string]interface{} + TextMapPropagator Propagator + type Propagator interface + Extract func(carrier interface{}) (ot.SpanContext, error) + Inject func(context ot.SpanContext, carrier interface{}) error + type TextMapPropagator struct + func NewTextMapPropagator(baggagePrefix, traceHeader, parentHeader string) *TextMapPropagator + func (p *TextMapPropagator) Extract(carrier interface{}) (ot.SpanContext, error) + func (p *TextMapPropagator) Inject(context ot.SpanContext, carrier interface{}) error v0.6.0 Dec 6, 2017 Changes in this version + const ErrorMsg + const ErrorStack + const ErrorType + const ResourceName + const ServiceName + const SpanType + func NewTracer(config *Configuration) (ot.Tracer, io.Closer, error) + type Configuration struct + AgentHostname string + AgentPort string + Debug bool + Enabled bool + SampleRate float64 + ServiceName string + func NewConfiguration() *Configuration + type Span struct + func NewSpan(operationName string) *Span + func (s *Span) BaggageItem(key string) string + func (s *Span) Context() ot.SpanContext + func (s *Span) FinishWithOptions(options ot.FinishOptions) + func (s *Span) Log(data ot.LogData) + func (s *Span) LogEvent(event string) + func (s *Span) LogEventWithPayload(event string, payload interface{}) + func (s *Span) LogFields(fields ...log.Field) + func (s *Span) LogKV(keyVals ...interface{}) + func (s *Span) SetBaggageItem(key, val string) ot.Span + func (s *Span) SetOperationName(operationName string) ot.Span + func (s *Span) SetTag(key string, value interface{}) ot.Span + func (s *Span) Tracer() ot.Tracer + type SpanContext struct + func (c SpanContext) ForeachBaggageItem(handler func(k, v string) bool) + func (c SpanContext) WithBaggageItem(key, val string) SpanContext + type Tracer struct + func (t *Tracer) Close() error + func (t *Tracer) Extract(format interface{}, carrier interface{}) (ot.SpanContext, error) + func (t *Tracer) Inject(ctx ot.SpanContext, format interface{}, carrier interface{}) error + func (t *Tracer) StartSpan(operationName string, options ...ot.StartSpanOption) ot.Span