opentelemetry_spanprocessor_any/sdk/trace/
mod.rs

1//! # OpenTelemetry Trace SDK
2//!
3//! The tracing SDK consist of a few main structs:
4//!
5//! * The `Tracer` struct which performs all tracing operations.
6//! * The `Span` struct with is a mutable object storing information about the
7//! current operation execution.
8//! * The `TracerProvider` struct which configures and produces `Tracer`s.
9mod config;
10mod evicted_hash_map;
11mod evicted_queue;
12mod id_generator;
13mod provider;
14mod runtime;
15mod sampler;
16mod span;
17mod span_limit;
18mod span_processor;
19mod tracer;
20
21pub use config::{config, Config};
22pub use evicted_hash_map::EvictedHashMap;
23pub use evicted_queue::EvictedQueue;
24pub use id_generator::{aws::XrayIdGenerator, IdGenerator};
25pub use provider::{Builder, TracerProvider};
26pub use runtime::{TraceRuntime, TrySend};
27pub use sampler::{Sampler, SamplingDecision, SamplingResult, ShouldSample};
28pub use span::Span;
29pub use span_limit::SpanLimits;
30pub use span_processor::{
31    BatchConfig, BatchMessage, BatchSpanProcessor, BatchSpanProcessorBuilder, SimpleSpanProcessor,
32    SpanProcessor,
33};
34pub use tracer::Tracer;