pub struct FileTreeStoreDiagnostics {
pub nodes: usize,
pub estimated_payload_bytes: usize,
pub directory_loads_started: u64,
pub directory_results_applied: u64,
pub directory_errors: u64,
pub stale_responses: u64,
pub watch_events: u64,
pub duplicate_watch_events: u64,
pub watch_sequence_gaps: u64,
pub evicted_nodes: u64,
pub emitted_deltas: u64,
}Expand description
Permanent structural counters for one live filesystem store.
nodes and estimated_payload_bytes are live values recomputed for each
snapshot. All other counters accumulate with saturation and never wrap.
§Examples
use ailloli_ui_fs::FileTreeStoreDiagnostics;
let diagnostics = FileTreeStoreDiagnostics::default();
assert_eq!((diagnostics.nodes, diagnostics.watch_events), (0, 0));Fields§
§nodes: usizeCurrent retained node count.
estimated_payload_bytes: usizeApproximate current node payload bytes, excluding map/allocator overhead.
directory_loads_started: u64Directory load requests successfully started.
directory_results_applied: u64Non-stale directory results accepted, including provider errors.
directory_errors: u64Accepted directory results that contained a provider error.
stale_responses: u64Rejected directory responses whose request/generation was stale.
watch_events: u64Watch events presented to the store, including duplicates.
duplicate_watch_events: u64Old, repeated, or attested-operation echo events ignored.
watch_sequence_gaps: u64Forward sequence gaps detected after a nonzero prior sequence.
evicted_nodes: u64Nodes removed by eviction, reconciliation, watch, or attested removal.
emitted_deltas: u64Non-empty revision deltas successfully emitted.
Trait Implementations§
Source§impl Clone for FileTreeStoreDiagnostics
impl Clone for FileTreeStoreDiagnostics
Source§fn clone(&self) -> FileTreeStoreDiagnostics
fn clone(&self) -> FileTreeStoreDiagnostics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more