pub struct DiskWrites {
pub jobs: JobWrites,
pub workflows: Vec<WriteTop>,
pub top_jobs: Vec<WriteTop>,
pub drive: Option<DriveWrites>,
}Expand description
The disk-writes section of Insights: what the jobs that ended in the window wrote, the
workflows and jobs that wrote most, and what the drive wrote while the daemon read it.
Fields§
§jobs: JobWritesThe jobs’ figures together.
workflows: Vec<WriteTop>The workflows whose jobs wrote most, most first.
top_jobs: Vec<WriteTop>The jobs, by repository, workflow and name, that wrote most, most first.
drive: Option<DriveWrites>The drive’s figures; None when the daemon read none in the window.
Implementations§
Source§impl DiskWrites
impl DiskWrites
Sourcepub const SHARES_TITLE: &'static str = "Who wrote to the drive"
pub const SHARES_TITLE: &'static str = "Who wrote to the drive"
What the drive’s shares are called over them.
Sourcepub const WORKFLOWS_TITLE: &'static str = "Workflows that wrote most"
pub const WORKFLOWS_TITLE: &'static str = "Workflows that wrote most"
What the workflows that wrote most are called.
Sourcepub const TOP_JOBS_TITLE: &'static str = "Jobs that wrote most"
pub const TOP_JOBS_TITLE: &'static str = "Jobs that wrote most"
What the jobs that wrote most are called.
Sourcepub fn caveats(&self) -> Vec<String>
pub fn caveats(&self) -> Vec<String>
What the figures leave out that changes how they read, a line each, in the order the figures show, each
starting with the label of the figure or the title it is about: jobs read only in part, bytes that waited to be
written back, Docker’s root as a file system in a file on the drive, and the drive’s shares read over a
shorter stretch than the drive or without the runner slice’s, when there are shares to show. The same words as
DiskWrites::sections.
Sourcepub fn figures(&self) -> Vec<LabelledFigure>
pub fn figures(&self) -> Vec<LabelledFigure>
Its figures, in the order they show: the jobs’ bytes, count, median and p90 when a job was measured; the drive’s bytes, daily rate and btrfs commits when it was read.
Sourcepub fn sections(&self) -> Vec<WriteSection>
pub fn sections(&self) -> Vec<WriteSection>
Its parts in order, each with what it says, none empty: the jobs’ figures, the drive’s, and the workflows and the jobs that wrote most.
Trait Implementations§
Source§impl Clone for DiskWrites
impl Clone for DiskWrites
Source§impl Debug for DiskWrites
impl Debug for DiskWrites
Source§impl<'de> Deserialize<'de> for DiskWrites
impl<'de> Deserialize<'de> for DiskWrites
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 DiskWrites
Source§impl PartialEq for DiskWrites
impl PartialEq for DiskWrites
Source§impl Serialize for DiskWrites
impl Serialize for DiskWrites
impl StructuralPartialEq for DiskWrites
Auto Trait Implementations§
impl Forget for DiskWrites
impl Freeze for DiskWrites
impl Move for DiskWrites
impl RefUnwindSafe for DiskWrites
impl Send for DiskWrites
impl Sync for DiskWrites
impl Unpin for DiskWrites
impl UnsafeUnpin for DiskWrites
impl UnwindSafe for DiskWrites
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.