Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + var Configured bool + func ConfigureTraceProvider(tp trace.Provider) + func End(span trace.Span, err error) + func FromContext(ctx context.Context) trace.Span + func Inject(ctx context.Context, supplier propagators.Supplier) + func StartSpan(ctx context.Context, component string, attrs Attrs) (context.Context, trace.Span) + func StartSpanFollowing(ctx context.Context, following WithSpanContext, component string, attrs Attrs) (context.Context, trace.Span) + func StartSpanLinkedToFollowing(linked context.Context, following WithSpanContext, component string, ...) (context.Context, trace.Span) + func TraceProvider(exporter export.SpanSyncer) trace.Provider + type Attrs map[string]string + type Config struct + Jaeger Jaeger + Stackdriver Stackdriver + func (c Config) Prepare() error + type Jaeger struct + Endpoint string + Service string + Tags map[string]string + func (j Jaeger) Exporter() (export.SpanSyncer, error) + func (j Jaeger) IsConfigured() bool + type Stackdriver struct + ProjectID string + func (s Stackdriver) Exporter() (export.SpanSyncer, error) + func (s Stackdriver) IsConfigured() bool + type TestTraceProvider struct + func (tp *TestTraceProvider) Tracer(name string) trace.Tracer + type WithSpanContext interface + SpanContext func() propagators.Supplier