pub struct AccountReport {
pub account: AccountId,
pub phase: AccountPhase,
pub eligible: bool,
pub fundable: bool,
pub task_healthy: bool,
pub restarts: u64,
pub unrecovered_grants: u64,
pub uncertain_acquires: u64,
pub refill: Option<LeaseStats>,
}Expand description
One account’s lifecycle and refill diagnostics, from
RuntimeHandle::account_reports. Kept out of metric labels because the
account set is unbounded.
Fields§
§account: AccountIdThe account reported on.
phase: AccountPhaseIts lease manager’s current lifecycle phase.
eligible: boolAt least one of its principals has an active, unexpired snapshot at the supplied time.
fundable: boolIt is eligible and can fund work now: an active snapshot and either a usable lease with units remaining or, under elastic enforcement, overage headroom. Eligible but not fundable means requests deny for want of funding.
task_healthy: boolIts manager is not faulted and, if running, its health watch is still true. False means the task died or recorded a fault.
restarts: u64Times a replacement manager started after an unexpected exit. A rising count is a manager that keeps dying.
unrecovered_grants: u64Known grants lost with a dead task, excluding its recoverable current slot. Unanswered acquires are reported separately, never counted exact.
uncertain_acquires: u64Attempts whose grant outcome is unknown, including interrupted calls. This counts uncertain attempts, not confirmed grants or units.
refill: Option<LeaseStats>None reports counter overflow, never a wrapped or partial total.