[−][src]Module opentelemetry::sdk::trace
OpenTelemetry Trace SDK
The tracing SDK consist of a few main structs:
- The
Tracerstruct which performs all tracing operations. - The
Spanstruct with is a mutable object storing information about the current operation execution. - The
TracerProviderstruct which configures and producesTracers.
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. |
| Tracer |
|
| TracerProvider | Creator and registry of named |
| XrayIdGenerator | Generates AWS X-Ray compliant Trace and Span ids. |
Enums
| Sampler | Sampling options |
| SamplingDecision | Decision about whether or not to sample |
Traits
| ShouldSample | The |
| SpanProcessor |
|
Functions
| config | Default trace configuration |