Observability
The ability to see what is happening inside an LLM application: what requests are being made, how much they cost, how quickly they respond, and where they fail.
What to Track
| Metric | Why |
|---|---|
| Latency | Slow responses |
| Token costs | Budget |
| Errors | Crashes and timeouts |
| Response quality | Hallucinations |
| Call chains | Where the problem is in the RAG pipeline |
Tools
- Langfuse — open-source tracing;
- LangSmith — by the creators of LangChain;
- Helicone — proxy with analytics.
The Three Pillars
- Logs — what happened;
- Metrics — how many and how fast;
- Traces — the full request path through the chain.