Function opentelemetry::sdk::export::metrics::record[][src]

pub fn record<'a>(
    descriptor: &'a Descriptor,
    labels: &'a LabelSet,
    resource: &'a Resource,
    aggregator: Option<&'a Arc<dyn Aggregator + Send + Sync>>,
    start: SystemTime,
    end: SystemTime
) -> Record<'a>
This is supported on crate feature metrics only.
Expand description

Allows Processor implementations to construct export records. The Descriptor, Labels, and Aggregator represent aggregate metric events received over a single collection period.