[][src]Struct opentelemetry_otlp::ExporterConfig

pub struct ExporterConfig {
    pub endpoint: String,
    pub protocol: Protocol,
    pub tls_config: Option<ClientTlsConfig>,
    pub metadata: Option<MetadataMap>,
    pub timeout: Duration,
}

Configuration for the OTLP exporter.

Fields

endpoint: String

The address of the OTLP collector. If not set, the default address is used.

protocol: Protocol

The protocol to use when communicating with the collector.

tls_config: Option<ClientTlsConfig>

TLS settings for the collector endpoint.

metadata: Option<MetadataMap>

Custom metadata entries to send to the collector.

timeout: Duration

The timeout to the collector.

Trait Implementations

impl Debug for ExporterConfig[src]

impl Default for ExporterConfig[src]

Auto Trait Implementations

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<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> WithSubscriber for T[src]