telemetry: log structured tool and inference timing events

This commit is contained in:
Michael Bolin
2026-07-02 11:28:12 -07:00
parent 0ccb676dd0
commit bb7c083fff
5 changed files with 442 additions and 22 deletions
+1 -1
View File
@@ -716,7 +716,7 @@ async fn turn_and_completed_response_spans_record_token_usage() {
);
}
#[tokio::test]
#[tokio::test(flavor = "current_thread")]
async fn handle_responses_span_records_response_kind_and_tool_name() {
let buffer: &'static Mutex<Vec<u8>> = Box::leak(Box::new(Mutex::new(Vec::new())));
let subscriber = tracing_subscriber::fmt()