Glossary

LLM Observability

Seeing what your LLM application actually did in production: every prompt, completion, tool call, token, millisecond and cost, traced end to end so you can explain a bad answer and catch drift before users do.

General definition

LLM Observability extends classic application observability (logs, metrics, traces) to systems whose core component is a probabilistic model. A conventional service either returns the right response or throws an error; an LLM call can return a fluent, confident and wrong answer with a 200 status. Observability therefore has to capture the content of the interaction, not only its timing, and link each final answer back to the prompt, retrieved documents, tool results and model settings that produced it.

  • Prompt and completion: the full input as sent (system prompt, history, retrieved context, tool definitions) and the output as received, with model name and parameters
  • Tokens and cost: input and output token counts and the resulting cost, per call and rolled up per user, feature or tenant
  • Latency: time to first token (TTFT) for streamed responses and total generation time
  • Tool calls and errors: tool inputs and results, retries, fallbacks and failures, as spans in one trace across a multi-step agent run
  • Quality signals: user feedback, scores from an evaluator model, groundedness against sources, and flags for refusals or hallucinations

Tooling has converged on the trace as the unit of analysis. Open-source platforms such as Langfuse and Arize Phoenix, hosted services such as LangSmith, and the OpenTelemetry semantic conventions for generative AI all model an LLM interaction as nested spans with standard attributes for model, tokens and prompts, so traces can flow into an existing observability stack. On top of traces, teams sample a slice of production conversations into evaluation sets, so the test suite keeps pace with real usage rather than a static benchmark.

Prompts and completions are user data. Traces of a support or healthcare assistant contain names, account details and possibly PHI, so LLM observability needs the same controls as any store of personal data: PII redaction or hashing before logging, access control on the trace store, retention limits, and a deliberate choice of where the traces live. Sending every prompt to a third-party tracing service is itself a data transfer that a DPA or BAA has to cover.

In the Ethora ecosystem

Ethora records agent conversations at the messaging layer. Every message an agent receives and sends is part of the room, held in the per-room transcript memory that also serves as the agent’s context, and captured in the compliance audit trail with immutable log export to S3. That gives you a durable, reviewable record of what each agent said to whom and when, with configurable retention and per-user erasure to meet privacy obligations.

Model-level traces (token counts, time to first token, tool spans) are best collected where the inference runs. Because Ethora agents talk to any OpenAI-compatible endpoint, you can place a tracing proxy or gateway in front of the model and keep the traces in your own stack. On a self-hosted or dedicated deployment with a self-hosted LLM, prompts, completions and traces never leave your infrastructure, and the platform ships with Grafana and Prometheus monitoring for the servers themselves.

Get started

Build AI agents on your own stack

Ethora’s AI SDK brings agents, RAG and self-hosted LLMs into your product. Talk to our team.

Start Free
Free tier available Enterprise SLA No vendor lock-in