Reading agent traces
A trace shows every model call and tool call behind one agent answer, with timings, status and token counts. Use it like a QA engineer to find a slow tool, a failed tool call hidden behind a polite answer, and a model call that costs far too much.
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: Observability with OpenTelemetry
- OpenTelemetry for agentsTraces, spans and attributes, from first principles.Pro
- Set up tracing on Agent RuntimeSending agent traces to Cloud Trace.Pro
- Logging and monitoringLogs, metrics and dashboards for deployed agents.Pro
- Reading agent tracesFinding the slow, failing or expensive step.Pro
- Monitoring gateway trafficGateway metrics and Model Armor spans.Pro