pub struct TelemetryEvent {Show 17 fields
pub id: Option<i64>,
pub timestamp: String,
pub command: String,
pub duration_ms: u64,
pub exit_code: i32,
pub error_count: u32,
pub warning_count: u32,
pub node_count: u32,
pub edge_count: u32,
pub language_mix: HashMap<String, u32>,
pub resolution_tiers: HashMap<String, u32>,
pub circuit_breaker_events: u32,
pub error_codes: HashMap<String, u32>,
pub client_name: Option<String>,
pub violations_resolved: u32,
pub violations_persisted: u32,
pub violations_new: u32,
}Expand description
A single telemetry event recorded after a command completes.
Fields§
§id: Option<i64>§timestamp: String§command: String§duration_ms: u64§exit_code: i32§error_count: u32§warning_count: u32§node_count: u32Graph node count for CLI commands; repurposed as tool_call_count for MCP session events.
edge_count: u32§language_mix: HashMap<String, u32>§resolution_tiers: HashMap<String, u32>§circuit_breaker_events: u32§error_codes: HashMap<String, u32>§client_name: Option<String>§violations_resolved: u32Violations from previous compile that are now gone (agent acted on keel advice).
violations_persisted: u32Violations from previous compile that persist (agent ignored keel).
violations_new: u32New violations not present in previous compile.
Trait Implementations§
Source§impl Clone for TelemetryEvent
impl Clone for TelemetryEvent
Source§fn clone(&self) -> TelemetryEvent
fn clone(&self) -> TelemetryEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 TelemetryEvent
impl Debug for TelemetryEvent
Auto Trait Implementations§
impl Freeze for TelemetryEvent
impl RefUnwindSafe for TelemetryEvent
impl Send for TelemetryEvent
impl Sync for TelemetryEvent
impl Unpin for TelemetryEvent
impl UnsafeUnpin for TelemetryEvent
impl UnwindSafe for TelemetryEvent
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