Trait opentelemetry::metrics::SyncGauge

source ·
pub trait SyncGauge<T> {
    // Required method
    fn record(&self, value: T, attributes: &[KeyValue]);
}
Expand description

An SDK implemented instrument that records independent values

Required Methods§

source

fn record(&self, value: T, attributes: &[KeyValue])

Records an independent value.

Implementors§