pub struct TelemetryView {
pub access: Vec<GrainAccess>,
pub queries: Vec<QueryUsage>,
pub budget: BudgetUsage,
}Expand description
A snapshot of the recall-telemetry sidecar’s rollups (§8). Telemetry-fed
analyzers (cold_grains, coverage_gap, budget_pressure) read this via
crate::analyzer::AnalyzeCtx::telemetry. It is an owned snapshot, not a
live handle — analyzers stay read-only and can’t reach the sidecar. A
substrate without a sidecar returns None, so the analyzer degrades to an
activation-ladder entry rather than firing on absent evidence.
Fields§
§access: Vec<GrainAccess>Per-grain recall rollups. A grain absent here has never been
recalled (the cold_grains signal).
queries: Vec<QueryUsage>Per-question rollups over free-text recalls (the coverage_gap signal).
budget: BudgetUsageAssembly-budget pressure rollup (the budget_pressure signal).
Trait Implementations§
Source§impl Clone for TelemetryView
impl Clone for TelemetryView
Source§fn clone(&self) -> TelemetryView
fn clone(&self) -> TelemetryView
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 TelemetryView
impl Debug for TelemetryView
Source§impl Default for TelemetryView
impl Default for TelemetryView
Source§fn default() -> TelemetryView
fn default() -> TelemetryView
Returns the “default value” for a type. Read more
Source§impl PartialEq for TelemetryView
impl PartialEq for TelemetryView
impl StructuralPartialEq for TelemetryView
Auto Trait Implementations§
impl Freeze for TelemetryView
impl RefUnwindSafe for TelemetryView
impl Send for TelemetryView
impl Sync for TelemetryView
impl Unpin for TelemetryView
impl UnsafeUnpin for TelemetryView
impl UnwindSafe for TelemetryView
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