Struct opentelemetry_jaeger::PipelineBuilder [−][src]
Jaeger exporter builder
Implementations
impl PipelineBuilder
[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]
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]
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”
pub fn with_collector_username<S: Into<String>>(
self,
collector_username: S
) -> Self
[src]
self,
collector_username: S
) -> Self
Assign the collector username
pub fn with_collector_password<S: Into<String>>(
self,
collector_password: S
) -> Self
[src]
self,
collector_password: S
) -> Self
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_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]
Assign the SDK config for the exporter pipeline.
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]
Install a Jaeger pipeline with a simple span processor.
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]
Build a configured sdk::trace::TracerProvider
with a simple span processor.
pub fn build_batch<R: Runtime>(
self,
runtime: R
) -> Result<TracerProvider, TraceError>
[src]
self,
runtime: R
) -> Result<TracerProvider, TraceError>
Build a configured sdk::trace::TracerProvider
with a batch span processor using the
specified runtime.
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 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FutureExt for T
[src]
pub fn with_context(self, otel_cx: Context) -> WithContext<Self>
[src]
pub fn with_current_context(self) -> WithContext<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,