#[non_exhaustive]pub struct AliveCacheCounters {
pub wired: bool,
pub mark_dead_total: u64,
pub mark_alive_total: u64,
pub suppress_hit_total: u64,
pub suppress_miss_total: u64,
pub reprobe_attempted_total: u64,
pub reprobe_succeeded_total: u64,
pub reprobe_invalidated_early: u64,
pub reprobe_exhausted_window: u64,
}Expand description
App-alive cache observability counters.
Always emitted (even when the runner was booted without an
appAliveCache — wired: false sentinel + all-zero counters).
Consumers use wired to distinguish “workload never fired the
re-probe path” from “runner version predates this observability”.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wired: boolfalse sentinel — either the runner omits the field entirely
or it was booted without a cache. When true, the field values
reflect an actual live cache.
mark_dead_total: u64Total calls to AppAliveCache::markDead.
mark_alive_total: u64Total calls to AppAliveCache::markAlive (explicit + re-probe-success).
suppress_hit_total: u64isSuppressed returned true — a call was short-circuited.
suppress_miss_total: u64isSuppressed returned false — a call was allowed through.
reprobe_attempted_total: u64Re-probe Task spawned.
reprobe_succeeded_total: u64Re-probe observed target return to running.
reprobe_invalidated_early: u64Re-probe was invalidated mid-flight by external markAlive.
reprobe_exhausted_window: u64Re-probe ran all 6 iterations without recovery.
Trait Implementations§
Source§impl Clone for AliveCacheCounters
impl Clone for AliveCacheCounters
Source§fn clone(&self) -> AliveCacheCounters
fn clone(&self) -> AliveCacheCounters
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more