← back

📷 "No talking online" by Danny Oosterveer is licensed under CC BY-ND 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nd/2.0/.

RAG in Production: Evaluation, Monitoring, and Operations 2026

26 August 2026 · 4 min · Martin Jochum #RAG#KI#Observability#Monitoring#DevOps#LLMOps

Most RAG systems (Retrieval-Augmented Generation) fail not because of the quality of the Large Language Model, but due to invisible errors in the retrieval pipeline. A 2026 study by PremAI shows that 80 percent of all RAG failures originate at the ingestion and chunking level – not from the LLM itself. At the same time, analysts from StackPulsar and Respan warn of a phenomenon that hardly anyone sees on the dashboard: embedding drift, which silently degrades retrieval quality over months. This article shows how teams can reliably operate RAG systems in production with a structured monitoring approach.

The four observation levels of a RAG pipeline

A RAG system is not a monolithic model, but a chain of several components. Each has its own failure modes. In a current guide, StackPulsar proposes a four-level model: Query Layer (is the user question embedded correctly?), Retrieval Layer (are the retrieved chunks relevant?), Context Layer (is the context actually used by the LLM?) and Answer Layer (is the answer correct and grounded in the context?).

Most teams only monitor the last level – and even that insufficiently. A dashboard that only shows latency and error rates does not capture semantic errors. If retrieval quality slowly declines over weeks, the green status remains, while users struggle with unusable answers.

The six metrics that really count

Respan, a provider of LLM observability, has defined six metrics that have proven themselves in practice. They are distributed across two error areas:

Retrieval side:

  • Context Recall: What proportion of the actually needed chunks was found? A value below 0.8 is the most common reason for “dumb” answers – the model never had a chance at the right context.
  • Context Precision: What percentage of the retrieved chunks were actually useful? Low precision means token waste and increases the risk of hallucinations due to irrelevant context.
  • Context Relevance (LLM-evaluated): A scalable alternative to manual label evaluation for live operation.

Generation side:

  • Faithfulness: Are all claims in the answer covered by the retrieved context? A value of 0.95 still means that one in twenty sentences is not substantiated.
  • Answer Relevance: Does the answer actually address the question asked? A faithful answer can still miss the point.
  • Citation Accuracy: Does the cited source actually contain the claimed statement? This is the most dangerous error class because users trust cited answers more.

Embedding drift: The silent quality killer

The most insidious failure mode is embedding drift, which StackPulsar calls the “slow death of RAG quality.” An embedding model is trained on a specific text distribution. Over months, the document corpus changes: new product features, updated terminology, restructured knowledge bases. The embedding space that worked perfectly six months ago gradually becomes blurrier.

The symptoms are a slow but steady decline in retrieval precision. Standard dashboards show nothing of this because latency remains constant. The solution: a fixed evaluation benchmark with 100 to 300 hand-labeled query-chunk pairs, run regularly (at least weekly). If precision drops below 90 percent of the initial value, action is required.

From offline evaluation to online monitoring

A golden set of hand-curated test questions is the foundation of any RAG evaluation, but it alone is not enough. Respan recommends continuously evaluating 1 to 5 percent of production traffic with an LLM-as-Judge. The reason: distribution shift. New user groups or product areas suddenly ask different questions that the golden set never covered. Offline values remain green while support tickets rise.

It is important that the judge uses a frozen model (e.g., Claude Sonnet 4.6 or GPT-5) – not latest. Otherwise, a model update from Anthropic or OpenAI leads to an apparent deterioration of metrics that is actually just a changed evaluation. The judge’s prompt should also be versioned.

Conclusion

RAG observability is not a luxury, but a fundamental requirement for reliable production operation. The four observation levels – Query, Retrieval, Context, Answer – must all be instrumented. A golden evaluation set with 100 to 300 query-chunk pairs provides the baseline, online evaluations on a sample of live traffic uncover distribution shifts. Embedding drift requires regular benchmark runs, and the six core metrics (Recall, Precision, Relevance, Faithfulness, Answer Relevance, Citation Accuracy) provide a complete picture of system quality. Teams that build these principles into their architecture from the start avoid the classic trap: a green dashboard with bad answers.

Sources

🌐 Machine-translated from the German original, editorially reviewed. 🤖 Written with AI assistance.