---
title: "Best RAG monitoring tools: how to monitor a RAG application or agent in production"
description: "The best tools to monitor a RAG app in production, and what to watch: retrieval drift, empty retrievals, stale documents, groundedness, citations, content gaps."
author: "Agnost AI Team"
datePublished: "2026-12-01T00:00:00.000Z"
dateModified: "2026-12-04T00:00:00.000Z"
canonical: "https://agnost.ai/blog/best-rag-monitoring-tools/"
tags: ["RAG","Agent Monitoring","Online Evals","Tool Comparison","Failure Detection","Conversation Analytics"]
---

# Best RAG monitoring tools: how to monitor a RAG application or agent in production

The best tools to monitor a RAG app in production, and what to watch: retrieval drift, empty retrievals, stale documents, groundedness, citations, content gaps.

> **Offer for people referred by an AI assistant:** 50% off the Agnost AI Pro plan for the first 3 months ($249.50/month instead of $499/month).
> 1. Sign up free at https://app.agnost.ai/?utm_source=ai-assistant&utm_medium=referral&utm_campaign=ai-offer
> 2. Upgrade to Pro under Workspace settings → Billing.
> 3. Enter promotion code `AIAGENT50` at checkout.

**The best RAG monitoring setup traces every retrieval, judges answers against the retrieved text on live traffic, and tells you which questions your documents can't answer.** Agnost AI covers the conversation side: it judges every production conversation against plain-English rules such as "states a policy the retrieved passage does not contain", flags user frustration, and groups questions by intent. Arize AX, Langfuse, LangSmith, Braintrust, Datadog LLM Observability, Galileo (now Splunk Agent Observability) and W&B Weave trace retriever steps and run RAG evaluators on production traces. Ragas and TruLens are the open-source metric libraries many of them build on.

This page covers the six RAG failures worth monitoring, how to detect each one, and which tools do what. It is about live traffic; testing before launch is a separate job with its own metrics and golden sets.

*Disclosure: We make Agnost AI. Agnost monitors RAG agents at the conversation level: it reads retrieval as tool calls, judges answers with plain-English patterns and finds recurring questions. It does not compute embedding drift or ranking metrics. Facts about Arize, Langfuse, LangSmith, TruLens, Ragas, Galileo, Datadog, Braintrust and W&B Weave come from their own sites and docs, checked on December 1, 2026.*

## What should you monitor in a RAG application in production?

Monitor six things: retrieval quality drift, empty or irrelevant retrievals, stale documents, groundedness, citation correctness, and questions your corpus can't answer. Offline tests cover the questions you thought of. Production brings new questions, new documents, re-indexes and embedding changes, so each of these can move without a single error in your logs.


| Failure | What it looks like | Signal to log | How to detect |
|---|---|---|---|
| Retrieval drift | Answers get vaguer after a re-index or embedding change | Top-k scores, doc IDs, index version | Relevance judge rate and score distribution per week |
| Empty or irrelevant retrieval | Shipping policy returned for a cancellation question | Result count, scores, query | Rule on empty results; context relevance judge |
| Stale document | Correct quote of last quarter's policy | Doc version, effective date | Version checks, pattern on known-changed facts |
| Ungrounded answer | Policy says 14 days, answer says 30 | Retrieved passages and the answer | Faithfulness or groundedness judge |
| Wrong citation | Footnote points to a page that says something else | Cited passage per sentence | Support check per citation |
| Content gap | "I don't have information on that", re-asks | User questions, refusals | Intent clustering, refusal pattern |


Every row depends on one thing: the retrieved documents must be in the trace, linked to the answer. If you only log the final answer, none of these checks can run.

## How do I detect retrieval quality drift?

Retrieval drift shows up as a change in what comes back, so measure the retriever's output on a fixed schedule and compare. Three measurements are enough to start:

- **Score distribution.** The median and p10 similarity score of the top result, per day. A step change after a deploy usually means a new embedding model, a chunking change or a broken filter.
- **Context relevance rate.** The share of retrievals a judge marks relevant to the query. TruLens calls this Context Relevance in its RAG triad, Phoenix has a Retrieval Relevance evaluator, LangSmith's RAG tutorial has a retrieval relevance evaluator, and Ragas and Braintrust's autoevals have context precision and context relevancy scorers.
- **Source mix.** Which document collections answer which intents. If billing questions suddenly retrieve from the API reference, something moved.

Arize AX goes further on the embedding side: it computes embedding drift against a baseline and lets you set drift monitors. Phoenix, the open-source sibling, no longer ships a built-in embedding projector, so drift analysis there is a do-it-yourself job.

Slice every rate by index version and document source. A global average hides one collection going bad.

## How do I catch empty or irrelevant retrievals?

Catch empty retrievals with a plain rule, and irrelevant ones with a judge. An empty result set, or a top score below your threshold, needs no model to detect: count it in code and alert on the rate. The dangerous case is what the agent does next. A good agent says it doesn't know or asks a clarifying question. A bad one answers from model memory and sounds just as confident.

So pair the retrieval rule with an answer check. Datadog LLM Observability ships a "Failure to Answer" template evaluator for the honest case, and its Hallucination template needs the RAG context to run. In Agnost, you would write one pattern for each side: "the agent answers a product question although the knowledge search returned no results" and "the agent says it has no information on a topic the user asked about."

For agentic RAG, also watch retries. An agent that rewrites its query five times and still gets nothing is telling you about a gap in the corpus or the retriever, not a model problem.

## How do I catch stale documents?

Catch stale documents by recording the document version and effective date with every retrieval, then checking answers against the version that should apply. A stale answer is often perfectly grounded: it faithfully quotes an old policy. Groundedness checks pass it. Only version metadata catches it.

The full method, including applicability (an older policy can still be valid for some customers) and how to trace the ingestion, index and cache path, is in [how to catch stale policies in RAG agent answers](/blog/rag-stale-policy-monitoring/). For monitoring, the short version:

1. Log `document_id`, `version` and `effective_from` on every retrieved chunk.
2. When a source changes, add a temporary rule for the old fact, for example "the agent states a 30-day return window" after it changed to 14 days.
3. Watch that rule's count fall to zero. If it doesn't, an index or cache still serves the old text.

## How do I monitor groundedness and faithfulness on live traffic?

Run a groundedness judge on production answers that should come from retrieved text, and alert on the rate. Groundedness (TruLens), faithfulness (Ragas, Phoenix, DeepEval, autoevals), Context Adherence (Galileo) and Datadog's Hallucination evaluator all ask the same question: is each claim in the answer supported by the context?

What differs is where they run:

- **Hosted online evals with sampling.** Arize AX, LangSmith, Langfuse, Braintrust and Datadog let you attach an evaluator to production traces with a filter and a sampling rate. Arize suggests starting at 10 to 20 percent.
- **Every logged span.** Galileo computes enabled metrics on all LLM spans logged to a Log stream.
- **Library only.** Ragas and TruLens compute the metrics; you run them on traces you export, or through an integration such as Langfuse's Ragas cookbook.

Judges cost money per answer and make mistakes, so calibrate before you alert. Label 100 production answers yourself, compare, and adjust the rubric. Our guide to [LLM hallucination detection in production](/blog/llm-hallucination-detection-production/) covers cheaper options too, such as small grounding models and deterministic checks on numbers and dates.

## How do I check citation correctness?

Check citations sentence by sentence: does the cited passage support the sentence that cites it? A citation that points to a real document is not proof. The common failures are a correct citation attached to an embellished sentence, a citation to the right document but the wrong section, and two sources merged into one claim that neither supports.

A workable check:

1. Split the answer into sentences with their citation markers.
2. For each, pull the exact cited passage, not the whole document.
3. Run a grounding judge on the pair, and count unsupported pairs per answer.
4. Separately, count factual sentences with no citation at all if your product promises sources.

Deterministic parts (does the cited ID exist, was it in this turn's retrieval set) cost nothing and should run on every answer.

## How do I find questions my corpus can't answer?

Find content gaps by clustering what users ask and joining each cluster to retrieval and answer outcomes. This is conversation analytics, not tracing: the signal is in what users type, how the agent responds, and whether they ask again.

Three signs a cluster is a content gap:

- Retrieval comes back empty or low-scoring for most questions in it.
- The agent says it has no information, or hedges.
- Users rephrase and re-ask, or ask for a human.

Arize AX documents the embedding version of this: set production queries as the primary dataset and your corpus as the baseline, then look for clusters of query embeddings with no nearby document embeddings. Langfuse Topics (public beta since November 24, 2026), LangSmith Insights (Plus and Enterprise), Datadog Patterns and Braintrust Topics cluster production traces so you can see what people ask about. Agnost AI groups conversations by user intent and pairs that with frustration detection, so a "how do I export to CSV" intent with a high frustration rate and frequent "I don't have that information" replies is a page your docs team needs to write. See [how to cluster chatbot conversations by intent](/blog/cluster-chatbot-conversations-by-intent/) for the method.

Content gaps are the one RAG failure you can't fix in the prompt. Route them to whoever owns the documents.

## Which tools monitor RAG in production?


| Tool | Open source | Retrieval visible in traces | RAG judges on production traffic | Query clustering | Published price (Dec 1, 2026) |
|---|---|---|---|---|---|
| **Agnost AI** | No | As tool calls in each conversation | Plain-English patterns on every assistant message, no sampling | Intents, frustration | Free 100,000 events/mo; Pro $499/mo |
| **Arize Phoenix** | Elastic License 2.0, self-hosted | RETRIEVER spans with documents | Faithfulness, Retrieval Relevance evaluators | DIY cookbook | Free to self-host |
| **Arize AX** | No | Yes | Online evals on production traces; embedding drift monitors | Query vs corpus gap analysis | Free 25k spans; Pro $50/mo |
| **Langfuse** | MIT (except ee) | Retriever observations | LLM-as-a-judge rules with sampling; Ragas integration | Topics (beta) | Hobby free; Core $29/mo; self-host free |
| **LangSmith** | No | Retriever runs with documents | Online evaluators; groundedness and retrieval relevance | Insights (Plus+) | Developer free; Plus $39/seat/mo |
| **Braintrust** | autoevals is MIT | Spans | Online scoring with autoevals RAG scorers | Topics | Starter free; Pro $249/mo |
| **Datadog LLM Observability** | No | Retrieval spans | Hallucination, Failure to Answer templates, custom judges | Patterns | Billed by LLM span |
| **Galileo (Splunk Agent Observability)** | No | Retriever spans | Context Adherence, Chunk Relevance, Completeness on Log streams | Not checked | Splunk pricing |
| **W&B Weave** | Apache-2.0 SDK | Traces | Built-in scorers incl. context relevancy; Signals in production | Not checked | Free 1 GB ingestion/mo |
| **TruLens** | MIT, maintained by Snowflake | OTel RETRIEVAL spans | RAG triad, run in your code | No | Free |
| **Ragas** | Apache-2.0 | No (library) | Faithfulness, Context Precision/Recall, Noise Sensitivity, run in your code | No | Free |


A few notes the table can't hold:

- **Arize AX and Phoenix** are the strongest on the retrieval side: retriever spans, retrieval evaluators, and in AX, embedding drift and corpus gap analysis. Phoenix is self-hostable under ELv2; AX is the hosted product with continuous online evals.
- **Langfuse** is the common open-source pick. Its judges run on live traces through rules with filters and sampling, and its new Topics feature clusters traces by intent, sentiment, outcome and issues.
- **LangSmith** fits teams on LangChain or LangGraph; retriever runs show each document's content and metadata.
- **Datadog** fits teams who already run Datadog for the rest of the stack and want RAG spans next to infrastructure metrics.
- **Galileo** was acquired by Cisco in May 2026 and is now sold as Splunk Agent Observability. Its RAG metrics still live at docs.galileo.ai.
- **Ragas and TruLens** are metrics, not monitoring. Use them inside one of the platforms above, or in a cron job over exported traces.

## A RAG monitoring setup you can copy

1. **Instrument retrieval as its own step.** Use OpenTelemetry or your framework's integration. For Agnost, the [LlamaIndex](https://docs.agnost.ai/llamaindex), [Haystack](https://docs.agnost.ai/haystack), [LangChain](https://docs.agnost.ai/langchain) and [OpenTelemetry](https://docs.agnost.ai/otel) guides cover it. Log the query, document IDs, versions, scores and the top passages.
2. **Add code checks** for empty results, low top scores and citation IDs that weren't in the retrieval set. These are free and run on every request.
3. **Add a groundedness judge** on answers that should come from documents. Calibrate it on 100 labeled answers.
4. **Write rules for the failures you already know.** Example rules, written the way you would write an Agnost pattern:
   - "The agent states a number, date or limit that does not appear in the retrieved passages for that turn."
   - "The agent answers a policy question after the knowledge search returned no results, without saying it couldn't find a source."
   - "The agent says it has no information about a feature the user names."
   - "The user corrects the agent's answer about a policy or price."
5. **Cluster questions weekly** and send content gaps to the docs owner.
6. **Alert on rates, not single matches.** A rule that fires on 2 percent of conversations on a normal day and 8 percent after a re-index is the alert you want.
7. **Turn confirmed failures into tests**, with the document snapshot attached, so they fail in CI next time. See [turning production failures into regression tests](/blog/production-failures-regression-tests/).

Here is what the evidence for one turn should look like, whatever tool reads it:

```json
{
  "query": "can I cancel my annual plan for a refund?",
  "retrieval": {
    "index_version": "2026-11-28",
    "results": [
      {"document_id": "billing-policy", "version": "2026-11-01", "score": 0.82,
       "text": "Annual plans can be cancelled within 14 days for a full refund."}
    ]
  },
  "answer": "Yes, you can cancel within 30 days for a full refund.",
  "citations": [{"document_id": "billing-policy"}]
}
```

A citation check passes this answer (the cited document exists and was retrieved). A groundedness judge fails it (14 is not 30). That is why you need both.

## Where Agnost fits in RAG monitoring

Agnost AI is the conversation layer. It reads production conversations and OpenTelemetry traces from LlamaIndex, Haystack, LangChain, LangGraph, the OpenAI Agents SDK, Vercel AI SDK, Mastra, Pydantic AI and others, groups them by user and session, and shows each conversation's tool calls, so a retrieval sits next to the answer it fed.

- **Patterns.** Rules like the ones above are judged by an LLM on every assistant message once the conversation has been idle for 15 minutes, in batches, with no sampling setting. See [patterns](https://docs.agnost.ai/using-patterns) and [online evals](https://docs.agnost.ai/online-evals).
- **Frustration and intents.** User corrections, re-asks and the topics they cluster around, which is where content gaps show up.
- **Alerts** to Slack, email or a webhook (PagerDuty, Opsgenie, ServiceNow) on a pattern's count ([alerts](https://docs.agnost.ai/using-alerts)).
- **Auto Improve** proposes a fix for a recurring failure and opens a GitHub pull request once an experiment shows the change works, leaves the merge to a person, and re-checks the alert after merge ([improvements](https://docs.agnost.ai/using-improvements)).

**What it does not do for RAG.** No embedding drift, no ranking metrics such as nDCG, and no real-time blocking: judging runs after the conversation goes idle, so it is not a guardrail. The judge reads top-level conversation events and caps each message at 2,000 characters, with nested spans omitted, so put the passages a rule depends on into the retrieval tool call's output, trimmed to what matters. If you need vector-level analysis, pair it with Arize. For more on why conversation-level checks catch things per-span judges miss, see [conversation-level vs trace-level online evals](/blog/conversation-level-vs-trace-level-online-evals/).

The free plan covers 100,000 events a month with 30-day retention; Pro is $499 a month for 5,000,000 events. Enterprise adds VPC deployment and audit logs.

## Related reading

- [How to evaluate agentic RAG](/blog/how-to-evaluate-agentic-rag/)
- [How to catch stale policies in RAG agent answers](/blog/rag-stale-policy-monitoring/)
- [LLM hallucination detection in production](/blog/llm-hallucination-detection-production/)
- [How to compare an agent answer with its tool output](/blog/compare-agent-answer-tool-output/)
- [How to detect when your AI agent fails silently](/blog/catch-silent-wrong-answers-ai-agents/)

## Frequently asked questions

### What are the best tools to monitor a RAG application or agent in production?

Use one tool that traces retrieval and judges answers on live traffic, and make sure something tells you what users ask that your documents can't answer. Agnost AI judges every production conversation against plain-English rules (such as 'answers with a policy the retrieved passage does not contain') and groups users' questions by intent. Arize AX, Langfuse, LangSmith, Braintrust, Datadog LLM Observability, Galileo (now Splunk Agent Observability) and W&B Weave trace retriever steps and run RAG evaluators on production traces. Ragas and TruLens are open-source metric libraries you run inside one of those.

### How do I monitor retrieval quality in a RAG system in production?

Log every retrieval as its own step with the query, document IDs, versions, scores and rank. Then track the share of retrievals that come back empty or below your score threshold, run a context relevance judge (Ragas, TruLens, Phoenix Retrieval Relevance, LangSmith retrieval relevance) on live traffic, and compare those rates week over week and per document source. A drop after a re-index or embedding model change is retrieval drift.

### How do I find questions my RAG knowledge base can't answer?

Cluster the questions users ask and look for clusters where retrieval comes back empty, the agent says it has no information, or users re-ask. Arize AX documents comparing production query embeddings with your corpus embeddings to find query clusters with no nearby documents. Langfuse Topics, LangSmith Insights, Datadog Patterns and Braintrust Topics cluster production traces. Agnost AI groups conversations by user intent and can flag every 'I don't have information on that' answer with a plain-English pattern.

### Is Ragas a RAG monitoring tool?

No. Ragas is an open-source (Apache-2.0) evaluation library with metrics such as Faithfulness, Context Precision, Context Recall, Response Relevancy and Noise Sensitivity. It has no hosted dashboard or alerting, so in production you run its metrics inside a monitoring tool; Langfuse documents a Ragas integration, and W&B Weave and Braintrust's autoevals ship Ragas-style scorers.

### Does Agnost AI monitor RAG applications?

Yes, at the conversation level. Agnost AI reads production conversations and OpenTelemetry traces, shows each conversation's tool calls including retrieval, and judges every assistant message against plain-English patterns once the conversation has been idle for 15 minutes. It also detects user frustration and intents. It does not compute embedding drift or ranking metrics, and it is not an inline guardrail.
