Trait opentelemetry::sdk::export::metrics::aggregation::Max
source · pub trait Max: Aggregation {
// Required method
fn max(&self) -> Result<Number, MetricsError>;
}
Available on crate feature
metrics
only.Expand description
Sum returns an aggregated max.
Required Methods§
sourcefn max(&self) -> Result<Number, MetricsError>
fn max(&self) -> Result<Number, MetricsError>
The max of the currently aggregated metrics