Function opentelemetry::sdk::export::metrics::accumulation [−][src]
pub fn accumulation<'a>(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource,
aggregator: &'a Arc<dyn Aggregator + Send + Sync>
) -> Accumulation<'a>
This is supported 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.