pub struct ToolBatchTracerEvent {
pub timestamp: f64,
pub correlation_id: String,
pub source: String,
pub batch_id: String,
pub tool_names: Vec<String>,
pub success_count: usize,
pub failure_count: usize,
pub call_duration_ms: f64,
pub caller: Option<String>,
}Expand description
Records the end-to-end execution of a parallel tool batch.
Per-call detail still lands as ToolCallTracerEvent events; the
batch event lets observers measure parallelism gains and correlate
calls dispatched together.
Fields§
§timestamp: f64§correlation_id: String§source: String§batch_id: String§tool_names: Vec<String>§success_count: usize§failure_count: usize§call_duration_ms: f64§caller: Option<String>Trait Implementations§
Source§impl Clone for ToolBatchTracerEvent
impl Clone for ToolBatchTracerEvent
Source§fn clone(&self) -> ToolBatchTracerEvent
fn clone(&self) -> ToolBatchTracerEvent
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 ToolBatchTracerEvent
impl Debug for ToolBatchTracerEvent
Source§impl<'de> Deserialize<'de> for ToolBatchTracerEvent
impl<'de> Deserialize<'de> for ToolBatchTracerEvent
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
Source§impl Serialize for ToolBatchTracerEvent
impl Serialize for ToolBatchTracerEvent
Source§impl TracerEvent for ToolBatchTracerEvent
impl TracerEvent for ToolBatchTracerEvent
Source§fn correlation_id(&self) -> &str
fn correlation_id(&self) -> &str
Get the correlation ID for tracing related events
Source§fn printable_summary(&self) -> String
fn printable_summary(&self) -> String
Get a formatted string summary of the event
Auto Trait Implementations§
impl Freeze for ToolBatchTracerEvent
impl RefUnwindSafe for ToolBatchTracerEvent
impl Send for ToolBatchTracerEvent
impl Sync for ToolBatchTracerEvent
impl Unpin for ToolBatchTracerEvent
impl UnsafeUnpin for ToolBatchTracerEvent
impl UnwindSafe for ToolBatchTracerEvent
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