pub enum TimingBucket {
P25,
P50,
P75,
P90,
P95,
P99,
P99P9,
Max,
Count,
}
Expand description
Labels corresponding to the fields in Sample
Variants§
P25
25th percentile observation
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
Max
Maximum observation
Count
Number of observations
Implementations§
Source§impl TimingBucket
impl TimingBucket
Trait Implementations§
Source§impl Labels for TimingBucket
impl Labels for TimingBucket
Source§fn label_names() -> Vec<&'static str>
fn label_names() -> Vec<&'static str>
The names of the labels that will be defined for the corresponding metric.
Source§fn possible_label_values() -> Vec<LabelValues<'static>> ⓘ
fn possible_label_values() -> Vec<LabelValues<'static>> ⓘ
Labels values to seed the metric with initially. Read more
Source§fn 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 Freeze for TimingBucket
impl RefUnwindSafe for TimingBucket
impl Send for TimingBucket
impl Sync for TimingBucket
impl Unpin for TimingBucket
impl UnwindSafe for TimingBucket
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