# Functions

ChildSpan opens a span as a child of the current span in the context (if there is one).
ContextWithRecordingSpan returns a context with an embedded trace span which returns its contents when getRecording is called and must be stopped by calling the cancel method when done with the context.
EnsureContext checks whether the given context.Context contains a Span.
FinishSpan closes the given span (if not nil).
ForkCtxSpan checks if ctx has a Span open; if it does, it creates a new Span that "follows from" the original Span.
FormatRecordedSpans formats the given spans for human consumption, showing the relationship using nesting and times as both relative to the previous event and cumulative.
GetRecording retrieves the current recording, if the span has recording enabled.
ImportRemoteSpans adds RecordedSpan data to the recording of the given span; these spans will be part of the result of GetRecording.
IsBlackHoleSpan returns true if events for this span are just dropped.
IsNoopContext returns true if the span context is from a "no-op" span.
IsRecordable returns true if {Start,Stop}Recording() can be called on this span.
NewTracer creates a Tracer.
StartChildSpan creates a child span of the given parent span.
StartRecording enables recording on the span.
StartSnowballTrace takes in a context and returns a derived one with a "snowball span" in it.
StopRecording disables recording on this span.
TestingCheckRecordedSpans checks whether a recording looks like an expected one represented by a string with one line per expected span and one line per expected event (i.e.

# Constants

SingleNodeRecording means that only spans on the current node are recorded.
Snowball is set as Baggage on traces which are used for snowball tracing.
SnowballRecording means that remote child spans (generally opened through RPCs) are also recorded.

# Variables

No description provided by the author
No description provided by the author
Recordable is a StartSpanOption that forces creation of a real span.

# Structs

RecordedSpan is a span that is part of a recording.
No description provided by the author
No description provided by the author
Tracer is our own custom implementation of opentracing.Tracer.

# Type aliases

RecordingType is the type of recording that a span might be performing.