[−][src]Enum zoomies::Metric
The module, zoomies::metrics
, implements the following metric types that are accepted by DataDog.
Metrics
- Count (Inc, Dec, Arb)
- Gauge
- Set
- Histogram
- Distribution
Variants
Inc(&'a str)
The Rust representation of a Count Metric in StatsD
The Count
metric submission type represents the total number of event occurrences in one time interval.
A Count
can be used to track the total number of connections made to a database or the total number of requests to an endpoint.
This number of events can accumulate or decrease over time—it is not monotonically increasing.
Dec(&'a str)
Arb(&'a str, T)
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Metric<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> Send for Metric<'a, T> where
T: Send,
T: Send,
impl<'a, T> Sync for Metric<'a, T> where
T: Sync,
T: Sync,
impl<'a, T> Unpin for Metric<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for Metric<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,