Versions in this module Expand all Collapse all v1 v1.1.10 Dec 12, 2023 Changes in this version + var ServiceName string + func Exporter() (sdktrace.SpanExporter, error) + func Register(name string, exp ExporterDetector, priority int) + func Shutdown(ctx context.Context) error + func TracerProvider() (trace.TracerProvider, error) + type ExporterDetector func() (sdktrace.SpanExporter, error) + type TraceRecorder struct + var Recorder *TraceRecorder + func NewTraceRecorder() *TraceRecorder + func (r *TraceRecorder) ExportSpans(ctx context.Context, spans []sdktrace.ReadOnlySpan) error + func (r *TraceRecorder) Record(traceID trace.TraceID) func() []tracetest.SpanStub + func (r *TraceRecorder) Shutdown(ctx context.Context) error