Struct opentelemetry::sdk::export::metrics::Metadata [−][src]
pub struct Metadata<'a> { /* fields omitted */ }
This is supported on crate feature
metrics
only.Expand description
A container for the common elements for exported metric data that are shared
by the Accumulator
->Processor
and Processor
->Exporter
steps.
Implementations
pub fn new(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource
) -> Self
pub fn new(
descriptor: &'a Descriptor,
attributes: &'a AttributeSet,
resource: &'a Resource
) -> Self
Create a new Metadata
instance.
A description of the metric instrument being exported.
The attributes associated with the instrument and the aggregated data.