[][src]Struct opentelemetry_jaeger::PipelineBuilder

pub struct PipelineBuilder { /* fields omitted */ }

Jaeger exporter builder

Implementations

impl PipelineBuilder[src]

pub fn from_env(self) -> Self[src]

Assign builder attributes from environment variables.

See the jaeger variable spec for full list.

pub fn with_agent_endpoint<T: ToSocketAddrs>(self, agent_endpoint: T) -> Self[src]

Assign the agent endpoint.

pub fn with_instrumentation_library_tags(self, export: bool) -> Self[src]

Config whether to export information of instrumentation library.

pub fn with_collector_endpoint<T>(self, collector_endpoint: T) -> Self where
    Uri: TryFrom<T>, 
[src]

This is supported on crate feature collector_client only.

Assign the collector endpoint.

E.g. "http://localhost:14268/api/traces"

pub fn with_collector_username<S: Into<String>>(
    self,
    collector_username: S
) -> Self
[src]

This is supported on crate feature collector_client only.

Assign the collector username

pub fn with_collector_password<S: Into<String>>(
    self,
    collector_password: S
) -> Self
[src]

This is supported on crate feature collector_client only.

Assign the collector password

pub fn with_service_name<T: Into<String>>(self, service_name: T) -> Self[src]

Assign the process service name.

pub fn with_tags<T: IntoIterator<Item = KeyValue>>(self, tags: T) -> Self[src]

Assign the process service tags.

pub fn with_trace_config(self, config: Config) -> Self[src]

Assign the SDK config for the exporter pipeline.

pub fn install(
    self
) -> Result<(Tracer, Uninstall), Box<dyn Error + Send + Sync + 'static>>
[src]

Install a Jaeger pipeline with the recommended defaults.

pub fn build(
    self
) -> Result<TracerProvider, Box<dyn Error + Send + Sync + 'static>>
[src]

Build a configured sdk::trace::TracerProvider with the recommended defaults.

pub fn init_exporter(
    self
) -> Result<Exporter, Box<dyn Error + Send + Sync + 'static>>
[src]

Initialize a new exporter.

This is useful if you are manually constructing a pipeline.

Trait Implementations

impl Debug for PipelineBuilder[src]

impl Default for PipelineBuilder[src]

fn default() -> Self[src]

Return the default Exporter Builder.

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, 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]