Tinker Observability & error analysis

by Samy (Kondasamy Jayaraman)

Yesterday’s traces on the wall.

Chapter 1 of 7

What the assistant did

Larkspur’s assistant is live and passed the tests from Evals, written before launch. Customers ask it about orders and policies all day. What does it really do?

This chapter: What happened, step by step, when a customer asked the assistant a question?

About this chapter

You will learn

  • A trace: one request’s record, from the question to the reply
  • Spans: the steps inside it (searches, model calls, tool calls, the reply)
  • Reading a trace as a waterfall: what ran, in what order, for how long

Words you’ll meet

Trace
The record of one request through the assistant, made of spans.
Span
One step in a trace, with a start, an end and what it did. Spans nest: the whole run is the parent of its steps.
Waterfall
A trace drawn as one row per span, each bar placed where the step started and as long as it took.
OpenTelemetry
An open standard for recording traces, with shared names for spans and what they did.

Step 1 of 4

Larkspur’s assistant answered 40 questions yesterday, and each left a : one request’s record, question to reply.

Open the first.