pub struct StorageMetrics {
pub dirty_count: usize,
pub dirty_bytes: usize,
pub sync_count: u64,
pub timer_sync_count: u64,
pub debounce_sync_count: u64,
pub error_count: u64,
pub checksum_failures: u64,
pub last_sync_duration_ms: u64,
pub throughput_blocks_per_sec: f64,
pub throughput_bytes_per_sec: f64,
pub error_rate: f64,
}Expand description
Comprehensive metrics for observability
Fields§
§dirty_count: usize§dirty_bytes: usize§sync_count: u64§timer_sync_count: u64§debounce_sync_count: u64§error_count: u64§checksum_failures: u64§last_sync_duration_ms: u64§throughput_blocks_per_sec: f64§throughput_bytes_per_sec: f64§error_rate: f64Trait Implementations§
Source§impl Clone for StorageMetrics
impl Clone for StorageMetrics
Source§impl Debug for StorageMetrics
impl Debug for StorageMetrics
Auto Trait Implementations§
impl Freeze for StorageMetrics
impl RefUnwindSafe for StorageMetrics
impl Send for StorageMetrics
impl Sync for StorageMetrics
impl Unpin for StorageMetrics
impl UnsafeUnpin for StorageMetrics
impl UnwindSafe for StorageMetrics
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