Versions in this module Expand all Collapse all v0 v0.7.0 Oct 29, 2024 Changes in this version + func ExecutionAttributes(requestID string, req execute.Request) []attribute.KeyValue + func SpanAttributes(attributes []attribute.KeyValue) []trace.SpanStartOption + func TraceContext(ctx context.Context, t TraceInfo) context.Context + func TraceContextFromMessage(ctx context.Context, payload []byte) (context.Context, error) + func TraceContextWithPropagator(ctx context.Context, propagator propagation.TextMapPropagator, t TraceInfo) context.Context + type TraceInfo struct + Carrier propagation.MapCarrier + func GetTraceInfo(ctx context.Context) TraceInfo + func GetTraceInfoWithPropagator(ctx context.Context, propagator propagation.TextMapPropagator) TraceInfo + func (t TraceInfo) Empty() bool + type Tracer struct + func NewTracer(name string, opts ...trace.TracerOption) *Tracer + func NewTracerFromProvider(tp trace.TracerProvider, name string, opts ...trace.TracerOption) *Tracer + func (t *Tracer) WithSpanFromContext(ctx context.Context, spanName string, f func() error, ...) error