Level 4: Reliability, security & cloud · L4.2 Observability
Observing LLM apps
Trace prompts, tokens, cost and latency per LLM call.
11 min · Pro
What you take away
- An LLM call is an ordinary span with extra attributes: model, prompt version, input and output tokens, finish reason, cache hit.
And 3 more inside the class, in Pro.
How the class is laid out
- The problem
- The LLM span
- Two latencies, and one of them is a parameter you set
- Cost lives per request, not per call
- The 200 that is wrong
- Three signals
- Golden signals, RED, USE
- Tracing
- LLM apps
- Check your understanding