pub enum ObsEvent {
TokenUsage(TokenUsage),
AgentMetrics(AgentMetrics),
}Expand description
One observability record (the unified export payload).
Variants§
TokenUsage(TokenUsage)
Token usage of a single LLM call (exported as it happens).
AgentMetrics(AgentMetrics)
Aggregated metrics of one agent run (exported once at the end).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObsEvent
impl RefUnwindSafe for ObsEvent
impl Send for ObsEvent
impl Sync for ObsEvent
impl Unpin for ObsEvent
impl UnsafeUnpin for ObsEvent
impl UnwindSafe for ObsEvent
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