Trait opentelemetry::sdk::export::metrics::LastValue[][src]

pub trait LastValue {
    fn last_value(&self) -> Result<(Number, SystemTime)>;
}
This is supported on crate feature metrics only.

LastValue returns the latest value that was aggregated.

Required methods

fn last_value(&self) -> Result<(Number, SystemTime)>[src]

The last value of the currently aggregated metrics

Loading content...

Implementors

Loading content...