Versions in this module Expand all Collapse all v0 v0.20.0 Sep 3, 2024 v0.19.2 Aug 10, 2024 v0.19.1 Jul 31, 2024 v0.19.0 Jul 28, 2024 v0.18.2 Jul 13, 2024 v0.18.1 Jun 12, 2024 v0.18.0 May 25, 2024 v0.17.1 Mar 10, 2024 v0.17.0 Mar 8, 2024 v0.16.1 Feb 5, 2024 v0.16.0 Jan 29, 2024 v0.15.0 Jan 25, 2024 v0.14.2 Jan 12, 2024 v0.14.1 Jan 10, 2024 v0.14.0 Jan 8, 2024 v0.13.2 Jan 2, 2024 v0.13.1 Dec 23, 2023 v0.13.0 Dec 19, 2023 v0.12.0 Nov 2, 2023 Changes in this version + const Error + const Ok + type Span struct + Ctx context.Context + Level int + Num int + func SpanFromContext(ctx context.Context) (span *Span, ok bool) + func Start(ctx context.Context, name string) (context.Context, *Span) + func (s *Span) End() + func (s *Span) SetAttributes(key string, value interface{}) + func (s *Span) SetStatus(code StatusCode, description string) + func (s *Span) TimeEstimate() time.Duration + type StateItem struct + Attributes map[string]string + End *time.Time + Level int + Name string + Num int + Start time.Time + Status StatusCode + TimeEstimate time.Duration + type StatusCode string + type Telemetry []*StateItem + func Unpack(ctx context.Context) Telemetry + func (s Telemetry) Len() int + func (s Telemetry) Less(i, j int) bool + func (s Telemetry) Swap(i, j int)