You’ve finished Observing AI Features: Traces, Cost and Latency. Now you can:
- Log every request with an ID and a timer
- Trace every request through retrieval, model calls and tool calls
- Find the step that caused a bad answer from its trace
- Keep personal data out of what you record
- Report cost and latency per request with percentiles
What You Built
- Every request has an ID, a JSON log line and a trace, a span per step. In the lesson’s run, the storage rule kept 34 of 200 traces in a day.
- The Forcella trace showed where the answer went wrong: retrieval passed a report 6 days older than the closure.
- The Forcella eval case went from 0 of 5 passes to 5 of 5.