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

pub struct Config {
    pub default_sampler: Box<dyn Sampler>,
    pub max_events_per_span: u32,
    pub max_attributes_per_span: u32,
    pub max_links_per_span: u32,
}

Tracer configuration

Fields

default_sampler: Box<dyn 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 Debug for Config[src]

impl Default for Config[src]

fn default() -> Self[src]

Create default global sdk configuration.

Auto Trait Implementations

impl !RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl !UnwindSafe for Config

Blanket Implementations

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

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

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

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

impl<F> Instrument for F[src]

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>,