Custom traces, spans and processors
Take control of tracing. See how to put several runs into one trace, keep sensitive text out of spans, deliver traces at once from a worker, and send them to another destination with trace processors.
11 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 11 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