pub fn accumulation<'a>(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource,
aggregator: &'a Arc<dyn Aggregator + Send + Sync>,
) -> 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.