Trait opentelemetry::sdk::export::metrics::aggregation::Count
source · pub trait Count: Aggregation {
// Required method
fn count(&self) -> Result<u64, MetricsError>;
}
Available on crate feature
metrics
only.Expand description
Count returns the number of values that were aggregated.
Required Methods§
sourcefn count(&self) -> Result<u64, MetricsError>
fn count(&self) -> Result<u64, MetricsError>
The count of the currently aggregated metrics