[−][src]Struct opentelemetry_otlp::OtlpMetricPipelineBuilder
Implementations
impl<AS, ES, SP, SO, I, IO, IOI> OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO> where
AS: AggregatorSelector + Send + Sync + 'static,
ES: ExportKindFor + Send + Sync + Clone + 'static,
SP: Fn(PushControllerWorker) -> SO,
I: Fn(Duration) -> IO,
IO: Stream<Item = IOI> + Send + 'static,
[src]
AS: AggregatorSelector + Send + Sync + 'static,
ES: ExportKindFor + Send + Sync + Clone + 'static,
SP: Fn(PushControllerWorker) -> SO,
I: Fn(Duration) -> IO,
IO: Stream<Item = IOI> + Send + 'static,
pub fn with_resource<T: IntoIterator<Item = R>, R: Into<KeyValue>>(
mut self: Self,
resource: T
) -> Self
[src]
mut self: Self,
resource: T
) -> Self
Build with resource key value pairs.
pub fn with_export_config(mut self: Self, export_config: ExporterConfig) -> Self
[src]
Build with export configuration
pub fn with_aggregator_selector(mut self: Self, aggregator_selector: AS) -> Self
[src]
Build with the aggregator selector
pub fn with_spawn(mut self: Self, spawn: SP) -> Self
[src]
Build with spawn function
pub fn with_timeout(mut self: Self, timeout: Duration) -> Self
[src]
Build with timeout
pub fn with_period(mut self: Self, period: Duration) -> Self
[src]
Build with period, your metrics will be exported with this period
pub fn with_stateful(mut self: Self, stateful: bool) -> Self
[src]
Build a stateful push controller or not
pub fn with_interval(mut self: Self, interval: I) -> Self
[src]
Build with interval function
pub fn with_export_kind(mut self: Self, export_selector: ES) -> Self
[src]
Build with export kind selector
pub fn build(self) -> Result<PushController>
[src]
Build push controller
Auto Trait Implementations
impl<AS, ES, SP, SO, I, IO> !RefUnwindSafe for OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO>
[src]
impl<AS, ES, SP, SO, I, IO> Send for OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO> where
I: Send,
SP: Send,
[src]
I: Send,
SP: Send,
impl<AS, ES, SP, SO, I, IO> Sync for OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO> where
I: Sync,
SP: Sync,
[src]
I: Sync,
SP: Sync,
impl<AS, ES, SP, SO, I, IO> Unpin for OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO> where
AS: Unpin,
ES: Unpin,
I: Unpin,
SP: Unpin,
[src]
AS: Unpin,
ES: Unpin,
I: Unpin,
SP: Unpin,
impl<AS, ES, SP, SO, I, IO> !UnwindSafe for OtlpMetricPipelineBuilder<AS, ES, SP, SO, I, IO>
[src]
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> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
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>,