Struct opentelemetry_jaeger::PipelineBuilder [−][src]
pub struct PipelineBuilder { /* fields omitted */ }
Jaeger exporter builder
Implementations
impl PipelineBuilder
[src]
impl PipelineBuilder
[src]pub fn with_agent_endpoint<T: ToSocketAddrs>(self, agent_endpoint: T) -> Self
[src]
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]
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>,
<Uri as TryFrom<T>>::Error: Into<InvalidUri>,
[src]
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>,
[src]collector_client
or wasm_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]
pub fn with_collector_username<S: Into<String>>(
self,
collector_username: S
) -> Self
[src]Assign the collector username
pub fn with_collector_password<S: Into<String>>(
self,
collector_password: S
) -> Self
[src]
pub fn with_collector_password<S: Into<String>>(
self,
collector_password: S
) -> Self
[src]Assign the collector password
pub fn with_service_name<T: Into<String>>(self, service_name: T) -> Self
[src]
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]
pub fn with_tags<T: IntoIterator<Item = KeyValue>>(self, tags: T) -> Self
[src]Assign the process service tags.
pub fn with_max_packet_size(self, max_packet_size: usize) -> Self
[src]
pub fn with_max_packet_size(self, max_packet_size: usize) -> Self
[src]Assign the max packet size in bytes. Jaeger defaults is 65000.
pub fn with_trace_config(self, config: Config) -> Self
[src]
pub fn with_trace_config(self, config: Config) -> Self
[src]Assign the SDK config for the exporter pipeline.
pub fn with_http_client<T: HttpClient + 'static>(self, client: T) -> Self
[src]
pub fn with_http_client<T: HttpClient + 'static>(self, client: T) -> Self
[src]Assign the http client to use
pub fn install_simple(self) -> Result<Tracer, TraceError>
[src]
pub fn install_simple(self) -> Result<Tracer, TraceError>
[src]Install a Jaeger pipeline with a simple span processor.
pub fn install_batch<R: Runtime>(self, runtime: R) -> Result<Tracer, TraceError>
[src]
pub fn install_batch<R: Runtime>(self, runtime: R) -> Result<Tracer, TraceError>
[src]Install a Jaeger pipeline with a batch span processor using the specified runtime.
pub fn build_simple(self) -> Result<TracerProvider, TraceError>
[src]
pub fn build_simple(self) -> Result<TracerProvider, TraceError>
[src]Build a configured sdk::trace::TracerProvider
with a simple span processor.
pub fn build_batch<R: Runtime>(
self,
runtime: R
) -> Result<TracerProvider, TraceError>
[src]
pub fn build_batch<R: Runtime>(
self,
runtime: R
) -> Result<TracerProvider, TraceError>
[src]Build a configured sdk::trace::TracerProvider
with a batch span processor using the
specified runtime.
pub fn init_exporter(self) -> Result<Exporter, TraceError>
[src]
pub fn init_exporter(self) -> Result<Exporter, TraceError>
[src]Initialize a new exporter.
This is useful if you are manually constructing a pipeline.
Trait Implementations
impl Debug for PipelineBuilder
[src]
impl Debug for PipelineBuilder
[src]impl Default for PipelineBuilder
[src]
impl Default for PipelineBuilder
[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> FutureExt for T
[src]
impl<T> FutureExt for T
[src]fn with_context(self, otel_cx: Context) -> WithContext<Self>
[src]
fn with_context(self, otel_cx: Context) -> WithContext<Self>
[src]fn with_current_context(self) -> WithContext<Self>
[src]
fn with_current_context(self) -> WithContext<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more