AI and LLMs · Senior · Question 21 of 75
What should tracing of an LLM feature capture?
- 1Only the HTTP status codes returned by the provider
- 2Only the final answer shown to the user, with no metadata
- 3Each model and tool call: inputs, outputs, tokens, latency
Show the answer
Correct answer: Each model and tool call: inputs, outputs, tokens, latency
Explanation
Spans per step make agent failures debuggable and show where time and money go. Redact sensitive data in traces.