Struct opentelemetry::sdk::metrics::controllers::PullController [−][src]
pub struct PullController { /* fields omitted */ }
This is supported on crate feature
metrics
only.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
impl PullController
[src]
impl PullController
[src]Trait Implementations
impl CheckpointSet for PullController
[src]
impl CheckpointSet for PullController
[src]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
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,