Your tape for Observability for LLM Applications
One hole for each exercise. It's punched when your answer passes in the book's environment, and it comes loose when a new edition changes what it practised.
59 exercises in 12 chapters.
Sign in to see the exercises you've passed.
-
Chapter 1: Trace a request, then ask where its time went
5 exercises
- Exercise 1.1, Why the step check cannot see a gap: to do
- Exercise 1.2, Why the message time matches its steps: to do
- Exercise 1.3, Count input and output tokens for each model step: to do
- Exercise 1.4, Count input and output tokens together: to do
- Exercise 1.5, Write the totals the shares divide by: to do
-
Chapter 2: Name spans the way the standard does
5 exercises
- Exercise 2.1, Name the model span after the model, not the provider: to do
- Exercise 2.2, Write the tool and agent name checks: to do
- Exercise 2.3, Why the retrieval span's name omits the index: to do
- Exercise 2.4, Why the schema URL comes from the registry: to do
- Exercise 2.5, Why chapter 1's spans have no type: to do
-
Chapter 4: Follow a request across processes
5 exercises
- Exercise 4.1, Explain why the server joins the app's trace: to do
- Exercise 4.2, Point the server span at the client span: to do
- Exercise 4.3, Hand the pool thread a copy of the context: to do
- Exercise 4.4, Read the keys a call carries from the baggage: to do
- Exercise 4.5, Check the error type the caller receives: to do
-
Chapter 5: Send traces to a backend you can run
5 exercises
-
Chapter 7: Find where the latency comes from
5 exercises
- Exercise 7.1, Keep the message's own span out of the chain: to do
- Exercise 7.2, Keep the latest answer call per message: to do
- Exercise 7.3, Name the routes whose p95 is their largest message: to do
- Exercise 7.4, Explain why a small route's interval tops out at its p95: to do
- Exercise 7.5, Pick the bucket that holds the percentile: to do
-
Chapter 8: Find the step that failed
5 exercises
- Exercise 8.1, Count the failing spans by their status: to do
- Exercise 8.2, Count each error kind, including spans with none: to do
- Exercise 8.3, Count retries, not attempts: to do
- Exercise 8.4, Mark each message wrong against the table: to do
- Exercise 8.5, Count the wrong routes that went to a tool: to do
-
Chapter 9: Set alerts on the assistant's metrics
5 exercises
-
Chapter 10: Catch a regression in the traces
5 exercises
- Exercise 10.1, Find where the release name lives: to do
- Exercise 10.2, Why pairing narrows the prompt change's token interval: to do
- Exercise 10.3, Pair releases only when messages overlap: to do
- Exercise 10.4, Why message time is not flagged: to do
- Exercise 10.5, Keep every message in each step's change: to do
-
Chapter 12: Keep private data out of telemetry
5 exercises
- Exercise 12.1, Set the capture switch before instrumenting: to do
- Exercise 12.2, Redact the stored rows at the receiver: to do
- Exercise 12.3, Compare the unkeyed count with the unkeyed hash: to do
- Exercise 12.4, Count candidates with the keyed pseudonym: to do
- Exercise 12.5, Count the paths after redaction, not before: to do
Running your code on the book's versions