pub struct PhaseSummary {Show 19 fields
pub ops_finished: u64,
pub ops_ok: u64,
pub skips: u64,
pub ops_started: u64,
pub errors: u64,
pub retries: u64,
pub fibers: usize,
pub ops_per_sec: f64,
pub min_nanos: u64,
pub p50_nanos: u64,
pub p99_nanos: u64,
pub max_nanos: u64,
pub cursor_name: String,
pub cursor_extent: u64,
pub adapter_counters: Vec<(String, u64, f64)>,
pub rows_per_batch: f64,
pub cursors: Vec<(String, u64)>,
pub relevancy: Vec<(String, f64, f64, u64, usize)>,
pub throughput_samples: Vec<f64>,
}Expand description
End-of-phase metrics snapshot attached to a completed phase. Mirrors the live progress bar so an expanded tree entry shows the same fields a non-TUI run would print on stderr.
Fields§
§ops_finished: u64Total ops finished during the phase.
ops_ok: u64Ops that succeeded (no error after retry).
skips: u64SKIPPED ops (skips_total) — excluded from the ok% denominator.
ops_started: u64Ops started — used with ops_finished to compute active/pending.
errors: u64Errors observed (includes retries).
retries: u64Retries attempted.
fibers: usizeFibers the phase was run with (concurrency).
ops_per_sec: f64Average ops/s over the phase duration.
min_nanos: u64Service-time percentiles in nanoseconds (latest sample).
p50_nanos: u64§p99_nanos: u64§max_nanos: u64§cursor_name: StringPrimary cursor: name and total extent at phase end.
cursor_extent: u64§adapter_counters: Vec<(String, u64, f64)>Adapter-specific status counters: (name, total, rate) at phase end.
rows_per_batch: f64Average rows per batch (if batching — else 0).
cursors: Vec<(String, u64)>Count of cycles consumed from each input cursor, in the order the source dispatch produced them.
relevancy: Vec<(String, f64, f64, u64, usize)>Final relevancy aggregates per metric. Same shape as
ActivePhase::relevancy but captured at phase_completed time.
throughput_samples: Vec<f64>Frozen snapshot of the phase’s throughput sparkline at
completion — a clone of the BinomialSummary’s sample
buffer. The detail block renders this instead of the
(now-discarded) live Arc<BinomialSummary> so a scrolled-
back completed phase still shows the shape of its
throughput curve. Empty when the phase produced no
samples (no phase_progress updates).
Trait Implementations§
Source§impl Clone for PhaseSummary
impl Clone for PhaseSummary
Source§impl Debug for PhaseSummary
impl Debug for PhaseSummary
Auto Trait Implementations§
impl Forget for PhaseSummary
impl Freeze for PhaseSummary
impl Move for PhaseSummary
impl RefUnwindSafe for PhaseSummary
impl Send for PhaseSummary
impl Sync for PhaseSummary
impl Unpin for PhaseSummary
impl UnsafeUnpin for PhaseSummary
impl UnwindSafe for PhaseSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> 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> ⓘ
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> ⓘ
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