Versions in this module Expand all Collapse all v1 v1.0.0 Mar 5, 2020 Changes in this version + func ContextSpan(ctx context.Context, event telemetry.Event) context.Context + func Detach(ctx context.Context) context.Context + func Metric(ctx context.Context, data telemetry.MetricData) + func ProcessEvent(ctx context.Context, event telemetry.Event) context.Context + func SetExporter(e Exporter) + func Tag(ctx context.Context, at time.Time, tags telemetry.TagList) + type Exporter interface + Metric func(context.Context, telemetry.MetricData) + ProcessEvent func(context.Context, telemetry.Event) context.Context + func LogWriter(w io.Writer, onlyErrors bool) Exporter + type Span struct + Events []telemetry.Event + Finish time.Time + ID SpanContext + Name string + ParentID SpanID + Start time.Time + Tags telemetry.TagList + func GetSpan(ctx context.Context) *Span + func (s *Span) Format(f fmt.State, r rune) + type SpanContext struct + SpanID SpanID + TraceID TraceID + func (s *SpanContext) Format(f fmt.State, r rune) + type SpanID [8]byte + func (s SpanID) IsValid() bool + func (s SpanID) String() string + type TraceID [16]byte + func (t TraceID) String() string