Struct opentelemetry::sdk::trace::SpanLimits [−][src]
pub struct SpanLimits { pub max_events_per_span: u32, pub max_attributes_per_span: u32, pub max_links_per_span: u32, pub max_attributes_per_event: u32, pub max_attributes_per_link: u32, }
This is supported on crate feature
trace
only.Expand description
Span limit configuration to keep attributes, events and links to a span in a reasonable number.
Fields
max_events_per_span: u32
The max events that can be added to a Span
.
max_attributes_per_span: u32
The max attributes that can be added to a Span
.
max_links_per_span: u32
The max links that can be added to a Span
.
max_attributes_per_event: u32
The max attributes that can be added into an Event
max_attributes_per_link: u32
The max attributes that can be added into a Link
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpanLimits
impl Send for SpanLimits
impl Sync for SpanLimits
impl Unpin for SpanLimits
impl UnwindSafe for SpanLimits
Blanket Implementations
Mutably borrows from an owned value. Read more