Struct opentelemetry::sdk::export::metrics::Accumulation [−][src]
pub struct Accumulation<'a> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A container for the exported data for a single metric instrument and attribute
set, as prepared by an Accumulator
for the Processor
.
Implementations
pub fn new(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource,
aggregator: &'a Arc<dyn Aggregator + Send + Sync>
) -> Self
pub fn new(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource,
aggregator: &'a Arc<dyn Aggregator + Send + Sync>
) -> Self
Create a new Record
instance.
A description of the metric instrument being exported.
The attributes associated with the instrument and the aggregated data.
The checkpointed aggregator for this metric.