pub struct SampleRecord {
pub runner: String,
pub at: u64,
pub cpu: u64,
pub cpu_usage: u64,
pub memory: u64,
pub network_received: u64,
pub network_sent: u64,
pub oom_kills: u64,
}Expand description
One sample of one runner’s container.
Fields§
§runner: StringThe runner.
at: u64When, in milliseconds since the epoch.
cpu: u64Millicores over the interval before it.
cpu_usage: u64CPU time so far, in microseconds.
memory: u64Bytes without page cache.
network_received: u64Bytes received since the container started.
network_sent: u64Bytes sent since the container started.
oom_kills: u64Processes the kernel killed in the container for memory so far.
Trait Implementations§
Source§impl Clone for SampleRecord
impl Clone for SampleRecord
Source§impl Debug for SampleRecord
impl Debug for SampleRecord
impl Eq for SampleRecord
Source§impl PartialEq for SampleRecord
impl PartialEq for SampleRecord
impl StructuralPartialEq for SampleRecord
Auto Trait Implementations§
impl Freeze for SampleRecord
impl RefUnwindSafe for SampleRecord
impl Send for SampleRecord
impl Sync for SampleRecord
impl Unpin for SampleRecord
impl UnsafeUnpin for SampleRecord
impl UnwindSafe for SampleRecord
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.