Loading lesson…
Level 1 · Apprentice0 XP
Trace every call: prompt version, tokens, latency, tools and outcome.
Step 1 / 5
ProblemA customer complains about an answer from last Tuesday. Nobody can see which prompt version, which documents, or which tool results produced it.
← → step
Before this: Cost and latency in production
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Wrap each model and tool call in an OpenTelemetry span with attributes: model, prompt version, input and output tokens, cache reads, stop reason. View a full trace for one request.