pub struct TraceObjectiveMetrics {Show 48 fields
pub trace_id: String,
pub conversation_id: String,
pub run_id: String,
pub expected_turns: Option<u64>,
pub expected_tool_calls: Option<u64>,
pub event_count: u64,
pub recognized_event_count: u64,
pub unknown_event_count: u64,
pub started_at_ms: Option<i64>,
pub completed_at_ms: Option<i64>,
pub wall_duration_ms: u64,
pub model_duration_ms: u64,
pub max_model_duration_ms: u64,
pub tool_duration_ms: u64,
pub max_tool_duration_ms: u64,
pub run_started_count: u64,
pub run_completed_count: u64,
pub run_failed_count: u64,
pub model_started_count: u64,
pub model_completed_count: u64,
pub model_failed_count: u64,
pub tool_started_count: u64,
pub tool_completed_count: u64,
pub tool_failed_count: u64,
pub retry_count: u64,
pub context_compaction_count: u64,
pub input_tokens: u64,
pub input_cached_tokens: u64,
pub input_cache_write_tokens: u64,
pub output_tokens: u64,
pub total_tokens: u64,
pub cost_micros: u64,
pub error_count: u64,
pub timestamp_regression_count: u64,
pub sequence_regression_count: u64,
pub recognized_event_rate: Option<f64>,
pub run_success_rate: Option<f64>,
pub model_success_rate: Option<f64>,
pub tool_success_rate: Option<f64>,
pub turn_completion_rate: Option<f64>,
pub expected_tool_completion_rate: Option<f64>,
pub average_model_duration_ms: Option<f64>,
pub average_tool_duration_ms: Option<f64>,
pub output_tokens_per_second: Option<f64>,
pub input_cache_hit_rate: Option<f64>,
pub complete: bool,
pub missing_signals: Vec<String>,
pub observations: Vec<ObjectiveMetricObservation>,
}Expand description
Complete bounded metric view derivable without an LLM judge or repository code.
Fields§
§trace_id: String§conversation_id: String§run_id: String§expected_turns: Option<u64>§expected_tool_calls: Option<u64>§event_count: u64§recognized_event_count: u64§unknown_event_count: u64§started_at_ms: Option<i64>§completed_at_ms: Option<i64>§wall_duration_ms: u64§model_duration_ms: u64§max_model_duration_ms: u64§tool_duration_ms: u64§max_tool_duration_ms: u64§run_started_count: u64§run_completed_count: u64§run_failed_count: u64§model_started_count: u64§model_completed_count: u64§model_failed_count: u64§tool_started_count: u64§tool_completed_count: u64§tool_failed_count: u64§retry_count: u64§context_compaction_count: u64§input_tokens: u64§input_cached_tokens: u64§input_cache_write_tokens: u64§output_tokens: u64§total_tokens: u64§cost_micros: u64§error_count: u64§timestamp_regression_count: u64§sequence_regression_count: u64§recognized_event_rate: Option<f64>§run_success_rate: Option<f64>§model_success_rate: Option<f64>§tool_success_rate: Option<f64>§turn_completion_rate: Option<f64>§expected_tool_completion_rate: Option<f64>§average_model_duration_ms: Option<f64>§average_tool_duration_ms: Option<f64>§output_tokens_per_second: Option<f64>§input_cache_hit_rate: Option<f64>§complete: bool§missing_signals: Vec<String>§observations: Vec<ObjectiveMetricObservation>Trait Implementations§
Source§impl Clone for TraceObjectiveMetrics
impl Clone for TraceObjectiveMetrics
Source§impl Debug for TraceObjectiveMetrics
impl Debug for TraceObjectiveMetrics
Source§impl<'de> Deserialize<'de> for TraceObjectiveMetrics
impl<'de> Deserialize<'de> for TraceObjectiveMetrics
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 PartialEq for TraceObjectiveMetrics
impl PartialEq for TraceObjectiveMetrics
Source§impl Serialize for TraceObjectiveMetrics
impl Serialize for TraceObjectiveMetrics
impl StructuralPartialEq for TraceObjectiveMetrics
Auto Trait Implementations§
impl Freeze for TraceObjectiveMetrics
impl RefUnwindSafe for TraceObjectiveMetrics
impl Send for TraceObjectiveMetrics
impl Sync for TraceObjectiveMetrics
impl Unpin for TraceObjectiveMetrics
impl UnsafeUnpin for TraceObjectiveMetrics
impl UnwindSafe for TraceObjectiveMetrics
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