pub struct NodeOperationMetrics {
pub total_inserts: u64,
pub total_updates: u64,
pub total_deletions: u64,
pub avg_record_size: f64,
pub avg_insertion_latency_us: u64,
pub avg_update_latency_us: u64,
pub io_locality_score: f64,
}Expand description
Node operation performance metrics.
Tracks performance metrics for node-related operations in the V2 graph system, including insertions, updates, deletions, and I/O locality measurements.
Fields§
§total_inserts: u64Total node insertions
total_updates: u64Total node updates
total_deletions: u64Total node deletions
avg_record_size: f64Average node record size (bytes)
avg_insertion_latency_us: u64Node insertion latency (microseconds)
avg_update_latency_us: u64Node update latency (microseconds)
io_locality_score: f64Node I/O locality score (0.0-1.0)
Trait Implementations§
Source§impl Clone for NodeOperationMetrics
impl Clone for NodeOperationMetrics
Source§fn clone(&self) -> NodeOperationMetrics
fn clone(&self) -> NodeOperationMetrics
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 NodeOperationMetrics
impl Debug for NodeOperationMetrics
Source§impl Default for NodeOperationMetrics
impl Default for NodeOperationMetrics
Source§fn default() -> NodeOperationMetrics
fn default() -> NodeOperationMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeOperationMetrics
impl<'de> Deserialize<'de> for NodeOperationMetrics
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
Auto Trait Implementations§
impl Freeze for NodeOperationMetrics
impl RefUnwindSafe for NodeOperationMetrics
impl Send for NodeOperationMetrics
impl Sync for NodeOperationMetrics
impl Unpin for NodeOperationMetrics
impl UnwindSafe for NodeOperationMetrics
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,
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