pub struct ProllyMetricsSnapshot {Show 13 fields
pub node_cache_hits: u64,
pub node_cache_misses: u64,
pub node_cache_evictions: u64,
pub nodes_read: u64,
pub bytes_read: u64,
pub nodes_written: u64,
pub bytes_written: u64,
pub store_get_calls: u64,
pub store_batch_get_calls: u64,
pub store_batch_get_keys: u64,
pub store_put_calls: u64,
pub store_batch_put_calls: u64,
pub store_batch_put_nodes: u64,
}Expand description
Cumulative cache and node I/O metrics for a prolly manager.
These counters are store-neutral observations from the tree manager’s point of view. Cache hits are requested node slots served from the in-process cache. Cache misses are unique node CIDs fetched from the backing store. Byte counters use serialized node sizes before backend-specific compression, buffering, or object layout.
Fields§
§node_cache_hits: u64Requested node slots served from the in-process node cache.
node_cache_misses: u64Unique node CIDs fetched from the backing store.
node_cache_evictions: u64Decoded nodes evicted from the in-process node cache.
nodes_read: u64Serialized nodes read from the backing store.
bytes_read: u64Serialized node bytes read from the backing store.
nodes_written: u64Serialized nodes written to the backing store.
bytes_written: u64Serialized node bytes written to the backing store.
store_get_calls: u64Successful point-read calls made by the manager.
store_batch_get_calls: u64Successful ordered batch-read calls made by the manager.
store_batch_get_keys: u64Unique node keys requested through ordered batch reads.
store_put_calls: u64Successful point-write calls made by the manager.
store_batch_put_calls: u64Successful batch-write calls made by the manager.
store_batch_put_nodes: u64Unique serialized nodes passed through batch writes.
Trait Implementations§
Source§impl Clone for ProllyMetricsSnapshot
impl Clone for ProllyMetricsSnapshot
Source§fn clone(&self) -> ProllyMetricsSnapshot
fn clone(&self) -> ProllyMetricsSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ProllyMetricsSnapshot
Source§impl Debug for ProllyMetricsSnapshot
impl Debug for ProllyMetricsSnapshot
Source§impl Default for ProllyMetricsSnapshot
impl Default for ProllyMetricsSnapshot
Source§fn default() -> ProllyMetricsSnapshot
fn default() -> ProllyMetricsSnapshot
impl Eq for ProllyMetricsSnapshot
Source§impl PartialEq for ProllyMetricsSnapshot
impl PartialEq for ProllyMetricsSnapshot
impl StructuralPartialEq for ProllyMetricsSnapshot
Auto Trait Implementations§
impl Freeze for ProllyMetricsSnapshot
impl RefUnwindSafe for ProllyMetricsSnapshot
impl Send for ProllyMetricsSnapshot
impl Sync for ProllyMetricsSnapshot
impl Unpin for ProllyMetricsSnapshot
impl UnsafeUnpin for ProllyMetricsSnapshot
impl UnwindSafe for ProllyMetricsSnapshot
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
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>
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>
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