Module opentelemetry::sdk::trace [−][src]
trace
only.Expand description
OpenTelemetry Trace SDK
The tracing SDK consist of a few main structs:
- The
Tracer
struct which performs all tracing operations. - The
Span
struct with is a mutable object storing information about the current operation execution. - The
TracerProvider
struct which configures and producesTracer
s.
Structs
BatchConfig | Batch span processor configuration |
BatchSpanProcessor | A |
BatchSpanProcessorBuilder | A builder for creating |
Builder | Builder for provider attributes. |
Config | Tracer configuration |
EvictedHashMap | A hash map with a capped number of attributes that retains the most recently set entries. |
EvictedQueue | This queue maintains an ordered list of elements, and a count of dropped elements. Elements are removed from the queue in a first in first out fashion. |
IdGenerator | Default |
SamplingResult | The result of sampling logic for a given |
SimpleSpanProcessor | A |
Span | Single operation within a trace. |
SpanLimits | Span limit configuration to keep attributes, events and links to a span in a reasonable number. |
Tracer |
|
TracerProvider | Creator and registry of named |
XrayIdGenerator | Generates AWS X-Ray compliant Trace and Span ids. |
Enums
BatchMessage | Messages sent between application thread and batch span processor’s work thread. |
Sampler | Sampling options |
SamplingDecision | Decision about whether or not to sample |
Traits
ShouldSample | The |
SpanProcessor |
|
TraceRuntime | Trace runtime is an extension to |
TrySend | TrySend is an abstraction of sender that is capable to send BatchMessage with reference. |
Functions
config | Default trace configuration |