pub struct JobMetrics {
pub cpu_time: Option<u64>,
pub cpu_peak: Option<u64>,
pub cpu_average: Option<u64>,
pub memory_peak: Option<u64>,
pub memory_average: Option<u64>,
pub network_received: Option<u64>,
pub network_sent: Option<u64>,
pub mirror_bytes: u64,
pub build_cache: BuildCacheCounts,
pub sock_throttled: Option<u64>,
}Expand description
What a job used, over the samples taken while it ran (every few seconds). None until a sample exists.
Fields§
§cpu_time: Option<u64>CPU time, in milliseconds.
cpu_peak: Option<u64>The highest CPU use of a sample interval, in millicores.
cpu_average: Option<u64>CPU time over wall time, in millicores.
memory_peak: Option<u64>The highest memory use without page cache.
memory_average: Option<u64>The average memory use without page cache.
network_received: Option<u64>Bytes the container received.
network_sent: Option<u64>Bytes the container sent.
mirror_bytes: u64Of the bytes received, those the Docker Hub mirror served.
build_cache: BuildCacheCountsWhat the shared build cache served it and took from it.
sock_throttled: Option<u64>Times the kernel held its container’s sockets’ receive windows small because the container’s memory was
under pressure (memory.events sock_throttled): reclaim went badly, mostly because the host was short of
memory, and its downloads slowed. None when the kernel does not count it, or in records from before.
Trait Implementations§
Source§impl Clone for JobMetrics
impl Clone for JobMetrics
Source§impl Debug for JobMetrics
impl Debug for JobMetrics
Source§impl Default for JobMetrics
impl Default for JobMetrics
Source§impl<'de> Deserialize<'de> for JobMetrics
impl<'de> Deserialize<'de> for JobMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for JobMetrics
Source§impl PartialEq for JobMetrics
impl PartialEq for JobMetrics
Source§impl Serialize for JobMetrics
impl Serialize for JobMetrics
impl StructuralPartialEq for JobMetrics
Auto Trait Implementations§
impl Freeze for JobMetrics
impl RefUnwindSafe for JobMetrics
impl Send for JobMetrics
impl Sync for JobMetrics
impl Unpin for JobMetrics
impl UnsafeUnpin for JobMetrics
impl UnwindSafe for JobMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.