pub struct EngineStats {
pub metrics_processed: u64,
pub snapshots_written: u64,
pub bytes_written: u64,
pub write_errors: u64,
pub aggregation_time_ns: u64,
}Expand description
Statistics for the monitoring engine
Fields§
§metrics_processed: u64Total number of metrics processed by the engine
snapshots_written: u64Number of metric snapshots written to disk
bytes_written: u64Total bytes written to memory-mapped files
write_errors: u64Number of write errors encountered
aggregation_time_ns: u64Total time spent in aggregation in nanoseconds
Trait Implementations§
Source§impl Clone for EngineStats
impl Clone for EngineStats
Source§fn clone(&self) -> EngineStats
fn clone(&self) -> EngineStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EngineStats
impl Debug for EngineStats
Source§impl Default for EngineStats
impl Default for EngineStats
Source§fn default() -> EngineStats
fn default() -> EngineStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EngineStats
impl RefUnwindSafe for EngineStats
impl Send for EngineStats
impl Sync for EngineStats
impl Unpin for EngineStats
impl UnwindSafe for EngineStats
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