Versions in this module Expand all Collapse all v0 v0.1.0 Sep 1, 2026 Changes in this version + type Attribute struct + Key string + Value any + func BoolAttribute(key string, value bool) Attribute + func StringAttribute(key, value string) Attribute + type Span interface + AddEvent func(name string, attrs ...Attribute) + End func() + RecordError func(err error) + SetAttributes func(attrs ...Attribute) + SetError func(message string) + type SpanKind int + const SpanKindInternal + const SpanKindProducer + type SpanOptions struct + Kind SpanKind + SourceTraceContext map[string]string + type Tracer interface + ExtractTraceContext func(ctx context.Context) map[string]string + Start func(ctx context.Context, name string, options SpanOptions) (context.Context, Span)