pub struct Bucket {Show 14 fields
pub process_id: String,
pub at: Timestamp,
pub minutes: u32,
pub resident_avg: u64,
pub resident_peak: u64,
pub memory_avg: u64,
pub memory_peak: u64,
pub cpu_avg: Option<f64>,
pub cpu_peak: Option<f64>,
pub container_avg: Option<u64>,
pub container_peak: Option<u64>,
pub container_limit: Option<u64>,
pub parts: Option<(u64, u64, u64)>,
pub covered: u32,
}Expand description
A process’s samples in a bucket (see Database::sample_buckets).
Fields§
§process_id: StringThe process.
at: TimestampThe bucket’s start.
minutes: u32The minutes sampled in it.
resident_avg: u64Resident memory, the minutes’ average.
resident_peak: u64The highest.
memory_avg: u64Whole memory, the minutes’ average.
memory_peak: u64The highest.
cpu_avg: Option<f64>Cores, the average over the minutes that have one.
cpu_peak: Option<f64>The highest.
container_avg: Option<u64>Its container’s memory, the average over the minutes that have one.
container_peak: Option<u64>The highest.
container_limit: Option<u64>Its container’s highest limit in the bucket.
parts: Option<(u64, u64, u64)>A worker’s fork servers’, wait step hosts’ and tasks’ averages over all the bucket’s minutes (0 where it ran no worker); none when it ran none in the bucket.
covered: u32The minutes the deployment (any process) was sampled in the bucket, read with it: a total’s denominator.
Trait Implementations§
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more