Files
spring-ai/observability/output/02-tool-call-spans.txt
T

25 lines
684 B
Plaintext

# Span tree for GET /weather?city=Pune (one tool call, two model calls)
http get /weather [SERVER]
spring_ai chat_client [INTERNAL]
tool _calling [INTERNAL]
call [INTERNAL]
chat gpt-4o-mini [INTERNAL]
POST [CLIENT]
execute_tool getWeather [INTERNAL]
call [INTERNAL]
chat gpt-4o-mini [INTERNAL]
POST [CLIENT]
attribute keys on the model-call spans:
gen_ai.operation.name
gen_ai.request.model
gen_ai.response.finish_reasons
gen_ai.response.id
gen_ai.response.model
gen_ai.system
gen_ai.usage.input_tokens
gen_ai.usage.output_tokens
gen_ai.usage.total_tokens
spring.ai.model.request.tool.names