Struct opentelemetry_jaeger::PipelineBuilder [−][src]
pub struct PipelineBuilder { /* fields omitted */ }
Expand description
Jaeger exporter builder
Implementations
Assign the agent endpoint.
Config whether to export information of instrumentation library.
pub fn with_collector_endpoint<T>(self, collector_endpoint: T) -> Self where
Uri: TryFrom<T>,
<Uri as TryFrom<T>>::Error: Into<InvalidUri>,
This is supported on crate features collector_client
or wasm_collector_client
only.
pub fn with_collector_endpoint<T>(self, collector_endpoint: T) -> Self where
Uri: TryFrom<T>,
<Uri as TryFrom<T>>::Error: Into<InvalidUri>,
collector_client
or wasm_collector_client
only.Assign the collector endpoint.
E.g. “http://localhost:14268/api/traces”
Assign the collector username
Assign the collector password
Assign the process service name.
Assign the process service tags.
Assign the max packet size in bytes. Jaeger defaults is 65000.
Assign the SDK config for the exporter pipeline.
Assign the http client to use
Install a Jaeger pipeline with a simple span processor.
Install a Jaeger pipeline with a batch span processor using the specified runtime.
Build a configured sdk::trace::TracerProvider
with a simple span processor.
pub fn build_batch<R: JaegerTraceRuntime>(
self,
runtime: R
) -> Result<TracerProvider, TraceError>
pub fn build_batch<R: JaegerTraceRuntime>(
self,
runtime: R
) -> Result<TracerProvider, TraceError>
Build a configured sdk::trace::TracerProvider
with a batch span processor using the
specified runtime.
Initialize a new simple exporter.
This is useful if you are manually constructing a pipeline.
pub fn init_async_exporter<R: JaegerTraceRuntime>(
self,
runtime: R
) -> Result<Exporter, TraceError>
pub fn init_async_exporter<R: JaegerTraceRuntime>(
self,
runtime: R
) -> Result<Exporter, TraceError>
Initialize a new exporter.
This is useful if you are manually constructing a pipeline.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PipelineBuilder
impl Send for PipelineBuilder
impl Sync for PipelineBuilder
impl Unpin for PipelineBuilder
impl !UnwindSafe for PipelineBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more