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

The provider for this controller

Collects all metrics if the last collected at time is past the current period

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.