Trait opentelemetry::metrics::SyncInstrument
source · pub trait SyncInstrument<T>: Send + Sync {
// Required method
fn measure(&self, measurement: T, attributes: &[KeyValue]);
}
Expand description
An SDK implemented instrument that records measurements synchronously.