Versions in this module Expand all Collapse all v2 v2.1.0 Apr 20, 2026 v2.0.0 Apr 20, 2026 Changes in this version + type RecordedEvent struct + Attributes map[string]any + Name string + type RecordedSpan struct + Attributes map[string]any + Events []RecordedEvent + HasError bool + Name string + StatusCode codes.Code + StatusMsg string + type SpanRecorder struct + func NewRecorder() (*trace.Tracer, *SpanRecorder) + func (r *SpanRecorder) Ended() []RecordedSpan + func (r *SpanRecorder) Reset()