pub struct OperationalMetrics { /* private fields */ }Expand description
Low-cardinality operational counters that never contain record or capability values.
Implementations§
Source§impl OperationalMetrics
impl OperationalMetrics
pub const fn accepted_commits(self) -> usize
pub const fn frontier_size(self) -> usize
pub const fn materialized_records(self) -> usize
pub const fn local_domains(self) -> usize
pub const fn active_migrations(self) -> usize
pub const fn staged_migration_records(self) -> usize
pub const fn frozen_migrations(self) -> usize
pub const fn local_apply_latency(self) -> LatencyMetrics
pub const fn query_latency(self) -> LatencyMetrics
pub const fn index_records_scanned(self) -> u64
Sourcepub const fn reconciliation_commits_scanned(self) -> u64
pub const fn reconciliation_commits_scanned(self) -> u64
Immutable commits read while maintaining the incremental CRDT materialization index.
pub const fn equivocation_quarantines(self) -> u64
pub const fn schema_rebases(self) -> u64
pub const fn sync_rounds(self) -> u64
pub const fn sync_failures(self) -> u64
pub const fn sync_commits_received(self) -> u64
pub const fn sync_commits_sent(self) -> u64
pub const fn snapshots_created(self) -> u64
pub const fn snapshots_installed(self) -> u64
pub const fn snapshot_age(self) -> Option<Duration>
pub const fn repairs_succeeded(self) -> u64
pub const fn repairs_failed(self) -> u64
pub const fn last_repair_derived_consistent(self) -> Option<bool>
Trait Implementations§
Source§impl Clone for OperationalMetrics
impl Clone for OperationalMetrics
Source§fn clone(&self) -> OperationalMetrics
fn clone(&self) -> OperationalMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OperationalMetrics
impl Debug for OperationalMetrics
Source§impl PartialEq for OperationalMetrics
impl PartialEq for OperationalMetrics
impl Copy for OperationalMetrics
impl Eq for OperationalMetrics
impl StructuralPartialEq for OperationalMetrics
Auto Trait Implementations§
impl Freeze for OperationalMetrics
impl RefUnwindSafe for OperationalMetrics
impl Send for OperationalMetrics
impl Sync for OperationalMetrics
impl Unpin for OperationalMetrics
impl UnwindSafe for OperationalMetrics
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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