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

The name of this enum variant, as a string slice.

A vector containing one instance of each of the enum’s variants.

Trait Implementations

The names of the labels that will be defined for the corresponding metric.

Labels values to seed the metric with initially. Read more

The actual label values to provide when emitting an event to Prometheus. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.