Function opentelemetry::sdk::metrics::controllers::push [−][src]
pub fn push<AS, ES, E, SP, SO, I, IO>(
aggregator_selector: AS,
export_selector: ES,
exporter: E,
spawn: SP,
interval: I
) -> PushControllerBuilder<SP, I> where
AS: AggregatorSelector + Send + Sync + 'static,
ES: ExportKindFor + Send + Sync + 'static,
E: Exporter + Send + Sync + 'static,
SP: Fn(PushControllerWorker) -> SO,
I: Fn(Duration) -> IO,
This is supported on crate feature
metrics
only.Expand description
Create a new PushControllerBuilder
.