# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
ContextWithRemoteSpanContext creates a new context with a remote span context set to the passed span context.
ContextWithSpan creates a new context with a current span set to the passed span.
DefaultHTTPPropagator returns the default trace HTTP propagator.
LinkedTo allows instantiating a Span with initial Links.
RemoteSpanContextFromContext returns the remote span context stored in the context.
SpanFromContext returns the current span stored in the context.
ValidateSpanKind returns a valid span kind value.
WithAttributes sets attributes to span.
WithEndTime sets the end time of the span to provided time t, when it is ended.
WithErrorStatus indicates the span status that should be set when recording an error event.
WithErrorTime sets the time at which the error event should be recorded.
WithNewRoot specifies that the current span or remote span context in context passed to `Start` should be ignored when deciding about a parent, which effectively means creating a span with new trace ID.
WithRecord specifies that the span should be recorded.
WithSpanKind specifies the role a Span on a Trace.
WithStartTime sets the start time of the span to provided time t, when it is started.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
As a convenience, these match the proto definition, see opentelemetry/proto/trace/v1/trace.proto
The unspecified value is not a valid `SpanKind`.
# Structs
B3 propagator serializes core.SpanContext to/from B3 Headers.
No description provided by the author
EndConfig provides options to set properties of span at the time of ending the span.
ErrorConfig provides options to set properties of an error event at the time it is recorded.
Link is used to establish relationship between two spans within the same Trace or across different Traces.
No description provided by the author
No description provided by the author
No description provided by the author
StartConfig provides options to set properties of span at the time of starting a new span.
TraceContext propagates SpanContext in W3C TraceContext format.nolint:golint.
# Type aliases
EndOption applies changes to EndConfig that sets options when the span is ended.
ErrorOption applies changes to ErrorConfig that sets options when an error event is recorded.
SpanKind represents the role of a Span inside a Trace.
StartOption applies changes to StartConfig that sets options at span start time.