pub struct PvaStateStats {Show 19 fields
pub channels_created: u64,
pub channels_destroyed: u64,
pub channels_expired: u64,
pub channels_evicted: u64,
pub operations_created: u64,
pub operations_completed: u64,
pub create_channel_requests: u64,
pub create_channel_responses: u64,
pub search_responses_resolved: u64,
pub search_cache_entries: u64,
pub search_retroactive_resolves: u64,
pub client_messages: u64,
pub server_messages: u64,
pub memory_bytes: u64,
pub operations_expired: u64,
pub shed_placeholder_ops: u64,
pub shed_message_rings: u64,
pub shed_search_entries: u64,
pub shed_channels: u64,
}Expand description
Statistics for monitoring
Fields§
§channels_created: u64§channels_destroyed: u64§channels_expired: u64§channels_evicted: u64§operations_created: u64§operations_completed: u64§create_channel_requests: u64§create_channel_responses: u64§search_responses_resolved: u64§search_cache_entries: u64§search_retroactive_resolves: u64§client_messages: u64PVA messages with is_server=false (sent by client)
server_messages: u64PVA messages with is_server=true (sent by server)
memory_bytes: u64Most recent value of PvaStateTracker::memory_estimate, refreshed
by cleanup_expired so exporters need not re-walk the state.
operations_expired: u64Operations aged out on their own last_seen, independently of any
channel. This is what reclaims mid-stream placeholders.
shed_placeholder_ops: u64Placeholder operations discarded to stay inside the memory ceiling.
shed_message_rings: u64Debug message rings cleared to stay inside the memory ceiling.
shed_search_entries: u64SEARCH cache entries discarded, by cap or by memory ceiling.
shed_channels: u64Channels evicted specifically to stay inside the memory ceiling. These carried introspection, so this rising means coverage is being lost.
Trait Implementations§
Source§impl Clone for PvaStateStats
impl Clone for PvaStateStats
Source§fn clone(&self) -> PvaStateStats
fn clone(&self) -> PvaStateStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PvaStateStats
impl Debug for PvaStateStats
Source§impl Default for PvaStateStats
impl Default for PvaStateStats
Source§fn default() -> PvaStateStats
fn default() -> PvaStateStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PvaStateStats
impl RefUnwindSafe for PvaStateStats
impl Send for PvaStateStats
impl Sync for PvaStateStats
impl Unpin for PvaStateStats
impl UnsafeUnpin for PvaStateStats
impl UnwindSafe for PvaStateStats
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