pub enum InstrumentKind {
Counter,
UpDownCounter,
Histogram,
ObservableCounter,
ObservableUpDownCounter,
Gauge,
ObservableGauge,
}Expand description
The identifier of a group of instruments that all perform the same function.
Variants§
Counter
Identifies a group of instruments that record increasing values synchronously with the code path they are measuring.
UpDownCounter
A group of instruments that record increasing and decreasing values synchronously with the code path they are measuring.
Histogram
A group of instruments that record a distribution of values synchronously with the code path they are measuring.
ObservableCounter
A group of instruments that record increasing values in an asynchronous callback.
ObservableUpDownCounter
A group of instruments that record increasing and decreasing values in an asynchronous callback.
Gauge
a group of instruments that record current value synchronously with the code path they are measuring.
ObservableGauge
a group of instruments that record current values in an asynchronous callback.
Trait Implementations§
Source§impl Clone for InstrumentKind
impl Clone for InstrumentKind
Source§fn clone(&self) -> InstrumentKind
fn clone(&self) -> InstrumentKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for InstrumentKind
Source§impl Debug for InstrumentKind
impl Debug for InstrumentKind
impl Eq for InstrumentKind
Source§impl Hash for InstrumentKind
impl Hash for InstrumentKind
Source§impl PartialEq for InstrumentKind
impl PartialEq for InstrumentKind
Source§fn eq(&self, other: &InstrumentKind) -> bool
fn eq(&self, other: &InstrumentKind) -> bool
self and other values to be equal, and is used by ==.