pub fn record(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
aggregator: Option<&'a Arc<dyn Aggregator + Sync + Send + 'static>>,
start: SystemTime,
end: SystemTime
) -> Record<'a>
Available on crate feature
metrics
only.Expand description
Allows Processor
implementations to construct export records. The
Descriptor
, Attributes
, and Aggregator
represent aggregate metric events
received over a single collection period.