Tracing an agent run

Lesson 19 of 28 · Observability and cost · 2 min Get the course to watch

A user complains that the assistant took forty seconds. Your model server metrics look fine, your gateway looks fine, and every dashboard is green. The slowness lives in the gaps between systems, which metrics cannot show.

A trace can. It follows one single run across every hop it takes, and shows you exactly where the forty seconds went, step by step.

The rest of this lesson

  • The shape of a trace
  • What to record on each span
  • Connecting the systems
  • Privacy and sampling

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Run AI in production on Kubernetes.