pub struct DurabilityMetricsSnapshot {
pub sync_write_total: u64,
pub async_queued_total: u64,
pub async_drained_total: u64,
pub ram_only_skipped_total: u64,
pub backpressure_total: u64,
pub snapshot_total: u64,
pub async_lag: usize,
}Expand description
Bounded aggregate metrics for the durability path.
Fields§
§sync_write_total: u64Sync writes flushed before acknowledgement.
async_queued_total: u64Async writes admitted to the bounded queue.
async_drained_total: u64Async writes drained to the underlying store.
ram_only_skipped_total: u64Writes skipped because the namespace is RAM-only on this node.
backpressure_total: u64Writes refused by async lag backpressure.
snapshot_total: u64Snapshot manifests recorded.
async_lag: usizeCurrent aggregate async queue lag.
Trait Implementations§
Source§impl Clone for DurabilityMetricsSnapshot
impl Clone for DurabilityMetricsSnapshot
Source§fn clone(&self) -> DurabilityMetricsSnapshot
fn clone(&self) -> DurabilityMetricsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DurabilityMetricsSnapshot
impl Debug for DurabilityMetricsSnapshot
Source§impl Default for DurabilityMetricsSnapshot
impl Default for DurabilityMetricsSnapshot
Source§fn default() -> DurabilityMetricsSnapshot
fn default() -> DurabilityMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DurabilityMetricsSnapshot
impl<'de> Deserialize<'de> for DurabilityMetricsSnapshot
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DurabilityMetricsSnapshot
Source§impl PartialEq for DurabilityMetricsSnapshot
impl PartialEq for DurabilityMetricsSnapshot
Source§fn eq(&self, other: &DurabilityMetricsSnapshot) -> bool
fn eq(&self, other: &DurabilityMetricsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DurabilityMetricsSnapshot
Auto Trait Implementations§
impl Freeze for DurabilityMetricsSnapshot
impl RefUnwindSafe for DurabilityMetricsSnapshot
impl Send for DurabilityMetricsSnapshot
impl Sync for DurabilityMetricsSnapshot
impl Unpin for DurabilityMetricsSnapshot
impl UnsafeUnpin for DurabilityMetricsSnapshot
impl UnwindSafe for DurabilityMetricsSnapshot
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<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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.