logo
pub fn accumulation(
    descriptor: &'a Descriptor,
    attributes: &'a AttributeSet,
    aggregator: &'a Arc<dyn Aggregator + Sync + Send + 'static>
) -> Accumulation<'a>
Available on crate feature metrics only.
Expand description

Allows Accumulator implementations to construct new Accumulations to send to Processors. The Descriptor, Attributes, Resource, and Aggregator represent aggregate metric events received over a single collection period.