Struct opentelemetry::sdk::metrics::controllers::PullController [−][src]
pub struct PullController { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
Pull controllers are typically used in an environment where there are
multiple readers. It is common, therefore, when configuring a
BasicProcessor
for use with this controller, to use a
ExportKind::Cumulative
strategy and the with_memory(true)
builder
option, which ensures that every CheckpointSet
includes full state.
Implementations
Trait Implementations
fn try_for_each(
&mut self,
export_selector: &dyn ExportKindFor,
f: &mut dyn FnMut(&Record<'_>) -> Result<()>
) -> Result<()>
[src]
fn try_for_each(
&mut self,
export_selector: &dyn ExportKindFor,
f: &mut dyn FnMut(&Record<'_>) -> Result<()>
) -> Result<()>
[src]This iterates over aggregated checkpoints for all metrics that were updated during the last collection period. Each aggregated checkpoint returned by the function parameter may return an error. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PullController
impl Send for PullController
impl Sync for PullController
impl Unpin for PullController
impl !UnwindSafe for PullController