pub struct KpiSnapshot {
pub recall_latency_p50_ms: f64,
pub recall_latency_p99_ms: f64,
pub store_latency_p50_ms: f64,
pub api_error_rate_5xx_pct: f64,
pub active_agents_count: u64,
pub session_count_week: u64,
pub cross_agent_network_node_count: u64,
pub memory_retention_7d_pct: f64,
}Expand description
Point-in-time product KPI snapshot returned by GET /v1/kpis (OBS-2).
All latency values are in milliseconds. Rate/percentage values are in the
range 0.0–100.0. Integer counts are unsigned.
Requires Admin scope.
Fields§
§recall_latency_p50_ms: f64Median recall latency across all namespaces over the last minute (ms).
recall_latency_p99_ms: f6499th-percentile recall latency across all namespaces over the last minute (ms).
store_latency_p50_ms: f64Median store latency across all namespaces over the last minute (ms).
api_error_rate_5xx_pct: f645xx error rate as a percentage of total API requests over the last minute.
active_agents_count: u64Distinct agent identifiers that stored or recalled a memory in the last 24 hours.
session_count_week: u64Total sessions created in the rolling 7-day window.
cross_agent_network_node_count: u64Current number of nodes in the cross-agent knowledge graph.
memory_retention_7d_pct: f64Percentage of memories created 7 days ago that are still active.
Trait Implementations§
Source§impl Clone for KpiSnapshot
impl Clone for KpiSnapshot
Source§fn clone(&self) -> KpiSnapshot
fn clone(&self) -> KpiSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more