# Functions
NewContextWithSpan returns a new context with the given Span added.
NewContextWithTrace returns a new context with the given Trace added.
NewTrace starts a new trace and returns a root span identified by the provided name.
NewTraceFromSpan starts a new trace and returns the associated span, which is a child of the parent span context.
SpanFromContext returns the Span associated with ctx or nil if no Span has been assigned.
TraceFromContext returns the Trace associated with ctx or nil if no Trace has been assigned.
Walk traverses the graph in a depth-first order, calling v.Visit for each node until completion or v.Visit returns nil.
# Structs
RawSpan represents the data associated with a span.
The Span type denotes a specific operation for a Trace.
A SpanContext represents the minimal information to identify a span in a trace.
The Trace type functions as a container for capturing Spans used to trace the execution of a request.
A TreeNode represents a single node in the graph.
# Type aliases
The StartTime start span option specifies the start time of the new span rather than using now.