Enum prometheus_utils::TimingBucket
source · [−]pub enum TimingBucket {
P50,
P75,
P90,
P95,
P99,
P99P9,
P99P995,
Max,
Dropped,
Wrapped,
}
Expand description
Labels corresponding to the fields in Sample
Variants
P50
50th percentile observation
P75
75th percentile observation
P90
90th percentile observation
P95
95th percentile observation
P99
99th percentile observation
P99P9
99.9th percentile observation
P99P995
99.995th percentile observation
Max
Maximum observation
Dropped
Number of observations dropped due to lock contention
Wrapped
Number of times the observation window wrapped around
Implementations
sourceimpl TimingBucket
impl TimingBucket
Trait Implementations
sourceimpl Labels for TimingBucket
impl Labels for TimingBucket
sourcefn label_names() -> Vec<&'static str>
fn label_names() -> Vec<&'static str>
The names of the labels that will be defined for the corresponding metric.
sourcefn possible_label_values() -> Vec<LabelValues<'static>>
fn possible_label_values() -> Vec<LabelValues<'static>>
Labels values to seed the metric with initially. Read more
sourcefn label_values(&self) -> LabelValues<'_>
fn label_values(&self) -> LabelValues<'_>
The actual label values to provide when emitting an event to Prometheus. Read more
Auto Trait Implementations
impl RefUnwindSafe for TimingBucket
impl Send for TimingBucket
impl Sync for TimingBucket
impl Unpin for TimingBucket
impl UnwindSafe for TimingBucket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more