LLM Observability Tracing
Overview
LLM Observability Tracing is the practice of collecting detailed information about each request to an LLM system: prompts, responses, tool calls, database queries, delays, and errors. Tracing enables the reproduction and analysis of system behavior.
Tracing Components
| Component | Data |
|---|---|
| Span | One operation (LLM call, search, tool) |
| Trace | Chain of spans forming a full request |
| Metadata | Model, temperature, tokens, cost |
| Error | Error code, message, stack |
Tools
- Langfuse, LangSmith, Helicone — tracing platforms.
- OpenTelemetry — standard for telemetry collection.
- Built-in API provider logs.