# Functions
AlwaysParentSample returns a Sampler that samples a trace only if the parent span is sampled.
AlwaysSample returns a Sampler that samples every trace.
NeverSample returns a Sampler that samples no traces.
NewBatchSpanProcessor creates a new instance of BatchSpanProcessor for a given export.
NewProvider creates an instance of trace provider.
NewSimpleSpanProcessor creates a new instance of SimpleSpanProcessor for a given export.
ProbabilitySampler samples a given fraction of traces.
RegisterSpanProcessor adds to the list of SpanProcessors that will receive sampled trace spans.
UnregisterSpanProcessor removes from the list of SpanProcessors the SpanProcessor that was registered with the given name.
WithBatcher options appends the batcher to the existing list of Batchers.
No description provided by the author
WithConfig option sets the configuration to provider.
No description provided by the author
No description provided by the author
WithResourceAttributes option sets the resource attributes to the provider.
No description provided by the author
WithSyncer options appends the syncer to the existing list of Syncers.
# Constants
DefaultMaxAttributesPerSpan is default max number of attributes per span.
DefaultMaxEventsPerSpan is default max number of message events per span.
DefaultMaxLinksPerSpan is default max number of links per span.
Valid sampling decisions.
Valid sampling decisions.
Valid sampling decisions.
# Structs
BatchSpanProcessor implements SpanProcessor interfaces.
No description provided by the author
Config represents the global tracing configuration.
No description provided by the author
ProviderOptions.
SamplingParameters contains the values passed to a Sampler.
SamplingResult conveys a SamplingDecision and a set of Attributes.
SimpleSpanProcessor implements SpanProcessor interfaces.
# Interfaces
Sampler decides whether a trace should be sampled and exported.
SpanProcessor is interface to add hooks to start and end method invocations.
# Type aliases
No description provided by the author
No description provided by the author
SamplingDecision indicates whether a span is recorded and sampled.