← All lessons Reference

Cheat sheet

Production traces

From lesson 0018. One id through HTTP, the agent, the tools, and the world.

  1. CorrelateSame id on the request, spans, and mutations.
  2. SpanUnit of work with a parent. Nest the loop.
  3. ReadOpen the tree. Grade the world, not the chat.

Not

Who mints

OTel: a trace is the path of a request. Anthropic: outcome ≠ last sentence. Put request_id on Stripe and SQL.