Trait opentelemetry::sdk::export::metrics::aggregation::Aggregation
source · [−]pub trait Aggregation {
fn kind(&self) -> &AggregationKind;
}
Available on crate feature
metrics
only.Expand description
An interface returned by an Aggregator
containing an interval of metric
data.
Required Methods
sourcefn kind(&self) -> &AggregationKind
fn kind(&self) -> &AggregationKind
A short identifying string to identify the Aggregator
that was used to
produce the aggregation (e.g., AggregationKind::SUM
).