Tutorials · Chapter D (4/4) · ~10 min
LLM tracing lab
Try it → see it → read → next
Log **spans** per request — embed, retrieve, generate — so you debug production RAG without guessing.
Optional on: Professional
Try tools: Code & developers
Try yourself
Playground
Trace a failed RAG answer
Open spans in order — find where quality broke before blaming the model.
Recap
What you just did
You opened spans in order and found 0 retrieval chunks before blaming the generator.
Read
What to trace
Read
Redaction rules
- Never log raw API keys or full PII
- Hash user IDs if needed for correlation
Read