pub struct TelemetryEvent {
pub tool: String,
pub routing_decision: String,
pub routing_detail: Option<String>,
pub upstream: Option<String>,
pub status: TelemetryStatus,
pub latency_ms: u64,
pub timestamp_secs: u64,
pub was_fallback: bool,
}Expand description
Minimal event payload — intentionally excludes tool arguments and responses.
Fields§
§tool: StringUnprefixed tool name (get_issues).
routing_decision: StringRouting decision label (strategy_remote, override_rule, …).
routing_detail: Option<String>Optional detail for override_rule (the pattern that matched).
upstream: Option<String>Upstream prefix when the call went remote (cloud); None for local.
status: TelemetryStatus§latency_ms: u64Wall-clock latency observed by the proxy.
timestamp_secs: u64Unix epoch seconds at the time the decision was made.
was_fallback: boolOptional fallback marker — true if the primary executor failed and we retried.
Implementations§
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 (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 TelemetryEvent
impl Debug for TelemetryEvent
Source§impl<'de> Deserialize<'de> for TelemetryEvent
impl<'de> Deserialize<'de> for TelemetryEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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