LLM Observability Best Practices for 2026 - 8 Rules That Save You a Rewrite
The eight LLM observability practices I wish I had followed on day one - trace the whole request, standardize on OpenTelemetry, score quality instead of logging it, and watch the retention meter before it watches you.
Published:
I have wired a lot of LLM features into production, and the mistakes rhyme. The tracing was too shallow to debug the real failure. The instrumentation was locked to one vendor. The bill exploded at real traffic. The dashboard showed what happened but never whether it was any good.
None of that is hard to avoid. It is just easy to skip when the demo works. Observability is the thing you wish you had set up before the incident, not during it. Here are the eight practices that have actually saved me a rewrite, in the order I would do them.
1. Trace the whole request, not just the model call
A modern LLM feature is a chain. Retrieval, tool calls, agent steps, then the model, then maybe another model to check the first one. If you only log the final prompt and completion, you can see the answer was wrong but not where it went wrong.
Capture the full multi-step trace from day one. Opik records multi-step traces across LLM calls, tool executions and agent activity, and Arize Phoenix and Langfuse do the same. It costs nothing extra to instrument this way at the start, and it is painful to retrofit after a bad launch. When retrieval returns the wrong chunk, you want to see the chunk, not guess at it.
2. Standardize on OpenTelemetry
Instrument with OpenTelemetry and the GenAI semantic conventions, not a vendor SDK, wherever you can. This is the one decision that keeps you portable. Switch backends later and you do not re-instrument the whole app.
OTel support varies more than the marketing suggests, so check the depth. Arize Phoenix is genuinely OpenTelemetry-native, built on OTel and Arize’s own OpenInference semantic conventions. Langfuse runs as an OTLP backend on an HTTP endpoint and maps the GenAI conventions, but it does not support gRPC OTLP yet. Opik ingests OTLP too, though it treats OpenTelemetry as one path alongside 60-plus direct framework integrations rather than the core architecture. If strict OTel-native is your requirement, Phoenix is the cleanest fit.
3. Log the inputs and outputs you will actually need to debug
You cannot debug what you did not record. Capture the real prompt, the real completion, the retrieved context, the tool arguments and the model parameters. The failure you are chasing next quarter is almost always hiding in one of those fields.
But be deliberate about what you store. Full inputs and outputs mean you are now holding user data, sometimes sensitive user data, in your traces. Decide what to redact before you turn traffic on, not after a compliance review finds it.
4. Score quality, do not just log it
This is the line between logging and observability. A dashboard that shows latency and token counts tells you the system ran. It does not tell you the answer was good.
Attach evals to your traces. Arize Phoenix ships 50-plus pre-built eval metrics and is singled out for the strongest RAG evaluation in the category, so you get retrieval and answer scoring without writing your own judge prompts. Langfuse supports LLM-as-a-judge and custom scorers wired straight into its traces. Opik does LLM-as-judge plus code-based metrics. Pick the scoring method that matches your failure mode - RAG relevance, hallucination, format correctness - and make it run automatically.
5. Run evals in production, not only before shipping
Offline evals on a fixed test set catch regressions before a deploy. They cannot catch the query no one thought to write down. Real traffic is where the surprises live.
Score live traffic with online evaluation. Opik supports online production evaluation and Guardrails that run on real requests, plus an Agent Optimizer for tuning. The pattern is simple - offline evals gate the merge, online evals watch production. Most teams build the first and skip the second, then wonder why quality drifts after launch.
6. Add a human in the loop for ground truth
Automated scorers are fast but imperfect, and an LLM judge has its own blind spots. You need real human labels to calibrate against, especially early.
Set up an annotation workflow before you trust your automated scores. Langfuse includes human annotation queues built for exactly this - route a sample of traces to a person, collect the label, and use it to check whether your automated judge agrees with a human. A judge you have never calibrated is a number you cannot trust.
7. Watch the retention meter before it watches you
Observability bills scale with two dials, and both surprise people. The first is volume - how many traces, spans or events you send. The second is retention - how long you keep them.
Model the bill on your real trace shape, not the entry tier. Langfuse bills “billable units,” which are traces plus observations plus scores, so a verbose multi-step agent multiplies fast. Its cloud retention runs from 30 days on the free Hobby tier up to longer windows on paid plans. Opik’s cloud defaults to 60-day retention with longer available at extra cost. Sample the high-volume, low-value traffic, keep full detail only where it earns its keep, and set the retention window on purpose. One more note on Phoenix - there are reports of ingest lag before traces appear, so if you need real-time visibility, test that path under load first.
8. Keep an exit - own your data and mind the license
The last practice is strategic. The tool you pick today may get acquired, re-licensed or repriced. Langfuse was acquired by ClickHouse in January 2026 - the MIT license and self-host survived, but ownership changed. Self-hosting is the usual escape hatch, and the license decides whether that hatch is real.
Read the license before you build a business on the tool. Langfuse is MIT and self-hosts free with only three features enterprise-gated. Opik is Apache-2.0 with the full feature set self-hosted and no gates. Arize Phoenix is fast and capable, but its server is Elastic License 2.0 - source-available, not OSI open source - and ELv2 forbids offering Phoenix as a hosted service to third parties. For internal use that rarely bites. If you plan to resell it, it does.
The short version
Trace the whole chain, emit OpenTelemetry, log what you will need to debug, and score quality instead of just logging it. Run evals in production as well as offline, add a human for ground truth, watch volume and retention before the bill grows, and keep an exit through self-host and a license you have actually read.
Do those eight and observability stops being the thing you set up during the incident. Every product fact above is drawn from our own tool reviews, verified on 26 July 2026. This category ships breaking changes monthly, so we re-verify every 30 days.
Frequently Asked Questions
What is the most important LLM observability best practice?
Trace the whole request, not just the model call. An LLM feature in production is a chain - retrieval, tool calls, agent steps, then the model. If you only log the final prompt and completion, you can see that the answer was wrong but not why. Capture the full multi-step trace from the start. Opik, Arize Phoenix and Langfuse all record multi-step traces, so this costs you nothing extra to do right the first time.
Should I standardize on OpenTelemetry for LLM observability?
Yes, if you can. OpenTelemetry with the GenAI semantic conventions keeps your instrumentation portable, so switching backends later does not mean re-instrumenting your app. Arize Phoenix is OpenTelemetry-native and built on the OpenInference conventions. Langfuse runs as an OTLP backend over HTTP, though not gRPC yet. Opik treats OTLP as one ingestion path alongside 60-plus direct framework integrations. Emitting standard OTel spans is the single best hedge against lock-in.
How do I stop LLM observability from getting expensive?
Watch two dials - trace volume and retention. Most platforms bill on the number of traces, spans or events you send and how long you keep them. Langfuse bills "billable units," which are traces plus observations plus scores, so a chatty agent multiplies your bill. Sample high-volume, low-value traffic, keep full detail only where it earns its keep, and check the default retention window before you turn on production traffic.
Do I need to run evals in production or just before shipping?
Both, but production is where teams under-invest. Offline evals catch regressions before a deploy. Online evaluation scores real traffic you cannot reproduce in a test set. Opik supports online production evaluation and guardrails that run on live requests. Arize Phoenix ships 50-plus pre-built eval metrics including deep RAG evaluation. Logging what happened is not observability - scoring whether it was good is.
Explore More
Tool Reviews
Related Articles
- How to Trace a LlamaIndex RAG App in 2026 - Three Ways, With Setup
- How to Monitor an LLM in Production in 2026 - The Full Workflow
- How to Set Up LLM Tracing in 2026 - A Practical Guide
- OpenTelemetry for LLM Observability in 2026 - A Practical Guide
- 5 Arize Phoenix Alternatives for Permissive Self-Hosting in 2026
Free Newsletter
Get the LLM Evals Newsletter
Platform comparisons, pricing changes and eval technique deep-dives. No spam.
Related Articles
How to Detect Prompt Injection in 2026 - Guardrails, Eval Tests and Red-Teaming
A practical guide to detecting direct and indirect prompt injection - input and output guardrails at the gateway, eval tests that catch it in CI, and red-teaming that finds the attacks you did not think of. With the tools that fit and their trade-offs.
July 28, 2026
how-toHow to Evaluate AutoGen Agents in 2026 - Multi-Turn Runs, Loop Convergence and Termination
A practical guide to evaluating Microsoft AutoGen conversational multi-agent runs - score whether the conversation converged, terminated cleanly, stayed on task, and produced a correct result, so you can tell a productive loop from an infinite one.
July 28, 2026
how-toHow to Evaluate CrewAI Agents in 2026 - Task Completion, Handoffs and Per-Agent Scoring
A practical guide to evaluating CrewAI multi-agent crews - score the crew's final output, each agent's task completion, the handoffs between them, and the tool calls, so you know which agent to fix. With the tools that fit and their trade-offs.
July 28, 2026
Langfuse Review
Opik Review
Arize Phoenix Review