pub struct WriterMetricsSnapshot {
pub outstanding_batches: u64,
pub batches_received: u64,
pub rows_received: u64,
pub batches_sent: u64,
pub rows_sent: u64,
pub errors: u64,
pub batches_failed: u64,
pub rows_failed: u64,
pub batches_spilled: u64,
pub rows_spilled: u64,
pub max_outstanding_batches: u64,
}Expand description
Live snapshot of background-writer metrics.
Fields§
§outstanding_batches: u64Number of batches currently submitted to the writer but not yet dequeued.
batches_received: u64Number of batches accepted by the background writer loop.
rows_received: u64Total number of rows accepted by the background writer loop.
batches_sent: u64Number of batches successfully sent.
rows_sent: u64Total number of rows across all successful batches.
errors: u64Total number of failed send attempts (including retries).
batches_failed: u64Number of batches dropped after all retries were exhausted.
rows_failed: u64Total number of rows dropped after all retries were exhausted.
batches_spilled: u64Number of batches written to the spill directory.
rows_spilled: u64Total number of rows written to the spill directory.
max_outstanding_batches: u64Maximum observed outstanding-batch count submitted to the writer.
Trait Implementations§
Source§impl Clone for WriterMetricsSnapshot
impl Clone for WriterMetricsSnapshot
Source§fn clone(&self) -> WriterMetricsSnapshot
fn clone(&self) -> WriterMetricsSnapshot
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 WriterMetricsSnapshot
impl Debug for WriterMetricsSnapshot
Source§impl Default for WriterMetricsSnapshot
impl Default for WriterMetricsSnapshot
Source§fn default() -> WriterMetricsSnapshot
fn default() -> WriterMetricsSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for WriterMetricsSnapshot
impl PartialEq for WriterMetricsSnapshot
impl Copy for WriterMetricsSnapshot
impl Eq for WriterMetricsSnapshot
impl StructuralPartialEq for WriterMetricsSnapshot
Auto Trait Implementations§
impl Freeze for WriterMetricsSnapshot
impl RefUnwindSafe for WriterMetricsSnapshot
impl Send for WriterMetricsSnapshot
impl Sync for WriterMetricsSnapshot
impl Unpin for WriterMetricsSnapshot
impl UnsafeUnpin for WriterMetricsSnapshot
impl UnwindSafe for WriterMetricsSnapshot
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