#[repr(u8)]pub enum V3MetricType {
Count = 1,
Rate = 2,
Gauge = 3,
Sketch = 4,
}Expand description
V3 metric type values.
These match the metricType enum in intake_v3.proto.
Variants§
Count = 1
A monotonically increasing counter, submitted as per-interval deltas.
Rate = 2
A count normalized to a per-second rate.
Gauge = 3
A point-in-time value.
Sketch = 4
A distribution summarized as a DDSketch.
Implementations§
Trait Implementations§
Source§impl Clone for V3MetricType
impl Clone for V3MetricType
Source§fn clone(&self) -> V3MetricType
fn clone(&self) -> V3MetricType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for V3MetricType
impl Debug for V3MetricType
Source§impl PartialEq for V3MetricType
impl PartialEq for V3MetricType
impl Copy for V3MetricType
impl Eq for V3MetricType
impl StructuralPartialEq for V3MetricType
Auto Trait Implementations§
impl Freeze for V3MetricType
impl RefUnwindSafe for V3MetricType
impl Send for V3MetricType
impl Sync for V3MetricType
impl Unpin for V3MetricType
impl UnwindSafe for V3MetricType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more