[−][src]Struct opentelemetry_jaeger::PipelineBuilder
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]
Uri: TryFrom<T>,
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
collector_client
only.Assign the collector username
pub fn with_collector_password<S: Into<String>>(
self,
collector_password: S
) -> Self
[src]
self,
collector_password: S
) -> Self
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]
self
) -> Result<(Tracer, Uninstall), Box<dyn Error + Send + Sync + 'static>>
Install a Jaeger pipeline with the recommended defaults.
pub fn build(
self
) -> Result<TracerProvider, Box<dyn Error + Send + Sync + 'static>>
[src]
self
) -> Result<TracerProvider, Box<dyn Error + Send + Sync + 'static>>
Build a configured sdk::trace::TracerProvider
with the recommended defaults.
pub fn init_exporter(
self
) -> Result<Exporter, Box<dyn Error + Send + Sync + 'static>>
[src]
self
) -> Result<Exporter, Box<dyn Error + Send + Sync + 'static>>
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]
fn with_context(self, otel_cx: Context) -> WithContext<Self>
[src]
fn with_current_context(self) -> WithContext<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
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, 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]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,