relay_event_normalization::span::ai

Function normalize_ai_measurements

source
pub fn normalize_ai_measurements(
    event: &mut Event,
    model_costs: Option<&ModelCosts>,
)
Expand description

Extract the ai_total_cost measurements from all of an event’s spans