TracerEvent

Trait TracerEvent 

Source
pub trait TracerEvent: Send + Sync {
    // Required methods
    fn timestamp(&self) -> f64;
    fn correlation_id(&self) -> &str;
    fn source(&self) -> &str;
    fn printable_summary(&self) -> String;
}
Expand description

Base trait for all tracer events

Tracer events are used to track system interactions for observability purposes. They are distinct from regular events which are used for agent communication.

Required Methods§

Source

fn timestamp(&self) -> f64

Get the timestamp when the event occurred

Source

fn correlation_id(&self) -> &str

Get the correlation ID for tracing related events

Source

fn source(&self) -> &str

Get the source of the event

Source

fn printable_summary(&self) -> String

Get a formatted string summary of the event

Implementors§