Struct prometheus_utils::Sample [−][src]
pub struct Sample<T: Ord + Zero + Copy> { pub dropped: usize, pub wraps: usize, pub p50: T, pub p75: T, pub p90: T, pub p95: T, pub p99: T, pub p99p9: T, pub p99p995: T, pub max: T, }
Expand description
A sample of the state in Observations.
Fields
dropped: usizeNumber of observations dropped due to lock contention
wraps: usizeNumber of times the observation window wrapped around
p50: T50th percentile observation
p75: T75th percentile observation
p90: T90th percentile observation
p95: T95th percentile observation
p99: T99th percentile observation
p99p9: T99.9th percentile observation
p99p995: T99.995th percentile observation
max: TMaximum observation
Implementations
Returns each member of the struct along with its TimingBucket
label. Each percentile is given as an i64.