pub struct AuditBatchHealthMetrics {
pub flush_failures: u64,
pub degraded_rows: u64,
pub degraded: bool,
pub late_append_commits: u64,
pub late_append_failures: u64,
}Expand description
Production-visible snapshot of AuditBatch::health_metrics. See there
for field semantics. khive_db::diagnostics::RuntimeAuditBatchMetrics carries
these three fields plus admission_refused_obligations and
admission_unresolved_obligations, which are sourced from process-wide
counters outside AuditBatch rather than from this struct — see
VerbRegistry::audit_batch_metrics.
Fields§
§flush_failures: u64§degraded_rows: u64§degraded: bool§late_append_commits: u64Detached AuditTerminalReason::DriverAppendAbandoned appends that
eventually returned a commit, after their generation had already
resolved every waiter with DriverAppendAbandoned. Lets an operator
see that a store recorded as wedged later drained.
late_append_failures: u64Detached AuditTerminalReason::DriverAppendAbandoned appends that
eventually returned a failure (store error, panic, or cancellation),
after their generation had already resolved every waiter with
DriverAppendAbandoned.
Trait Implementations§
Source§impl Clone for AuditBatchHealthMetrics
impl Clone for AuditBatchHealthMetrics
impl Copy for AuditBatchHealthMetrics
Source§impl Debug for AuditBatchHealthMetrics
impl Debug for AuditBatchHealthMetrics
impl Eq for AuditBatchHealthMetrics
Source§impl PartialEq for AuditBatchHealthMetrics
impl PartialEq for AuditBatchHealthMetrics
impl StructuralPartialEq for AuditBatchHealthMetrics
Auto Trait Implementations§
impl Freeze for AuditBatchHealthMetrics
impl RefUnwindSafe for AuditBatchHealthMetrics
impl Send for AuditBatchHealthMetrics
impl Sync for AuditBatchHealthMetrics
impl Unpin for AuditBatchHealthMetrics
impl UnsafeUnpin for AuditBatchHealthMetrics
impl UnwindSafe for AuditBatchHealthMetrics
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<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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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