Function opentelemetry::sdk::export::metrics::accumulation
source · pub fn accumulation<'a>(
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 Accumulation
s to
send to Processor
s. The Descriptor
, Attributes
, Resource
, and
Aggregator
represent aggregate metric events received over a single
collection period.