[][src]Struct opentelemetry::sdk::trace::config::Config

pub struct Config {
    pub default_sampler: Sampler,
    pub max_events_per_span: u32,
    pub max_attributes_per_span: u32,
    pub max_links_per_span: u32,
}

Tracer configuration

Fields

default_sampler: Sampler

The sampler that the sdk should use

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.

Trait Implementations

impl Default for Config[src]

fn default() -> Self[src]

Create default global sdk configuration.

impl Debug for Config[src]

Auto Trait Implementations

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

impl RefUnwindSafe for Config

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,