Tracing
A trace is the recorded story of a run, step by step. See which spans the SDK records without any code from you, how to put several runs into one trace, and how to switch tracing off.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.
Written from the official documentation
In this module: Observe, test and ship
- TracingSee every step of a run.Pro
- Custom traces, spans and processorsGroup runs in one trace, hide sensitive data and export elsewhere.Pro
- Usage trackingCount requests and tokens per run, per request and per session.Pro
- Testing without provider callsScripted models for agents, sandbox, realtime and voice tests.Pro