pub struct LaneHealth {
pub agents_active: usize,
pub agents_waiting: usize,
pub tools_busy: usize,
pub tools_queued: usize,
pub tools_parked: usize,
pub tools_workers: usize,
pub dead_cycles: u32,
pub relief_granted: usize,
}Expand description
How the daemon as a whole is doing, sampled once per safety re-drive.
Deliberately not a TelemetryEvent: every variant of that enum belongs to
one run, and this belongs to none of them. The distinction is the point. A
daemon whose lanes are full and whose runs have all stopped moving emits no
per-run telemetry at all, precisely because nothing is happening, so the
silence that issue #191 reported was indistinguishable from an idle night.
Fields§
§agents_active: usizeAgents doing work, or ready to.
agents_waiting: usizeAgents blocked on input, a child, or a prompt.
tools_busy: usizeTool batches holding lane capacity and running.
tools_queued: usizeTool batches waiting for lane capacity.
tools_parked: usizeTool batches parked on an unbounded wait, holding no capacity.
tools_workers: usizeThe tool lane’s concurrency cap, including any relief granted.
dead_cycles: u32Consecutive re-drives that found a lane at capacity and no run moving.
relief_granted: usizeExtra tool-lane capacity handed out on this sample, if any.
Trait Implementations§
Source§impl Clone for LaneHealth
impl Clone for LaneHealth
Source§fn clone(&self) -> LaneHealth
fn clone(&self) -> LaneHealth
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 LaneHealth
Source§impl Debug for LaneHealth
impl Debug for LaneHealth
Source§impl Default for LaneHealth
impl Default for LaneHealth
Source§fn default() -> LaneHealth
fn default() -> LaneHealth
impl Eq for LaneHealth
Source§impl PartialEq for LaneHealth
impl PartialEq for LaneHealth
impl StructuralPartialEq for LaneHealth
Auto Trait Implementations§
impl Freeze for LaneHealth
impl RefUnwindSafe for LaneHealth
impl Send for LaneHealth
impl Sync for LaneHealth
impl Unpin for LaneHealth
impl UnsafeUnpin for LaneHealth
impl UnwindSafe for LaneHealth
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.