> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Legacy LLM Monitoring

> Explore our guide to LLM application monitoring. Learn how Fiddler generates enrichments using trust and safety metrics for alerting, analysis, and debugging.

> [!WARNING]
>
> **Legacy LLM Monitoring Is Deprecated**
>
> Monitoring LLM applications by publishing prompts and responses as events for enrichment scoring is deprecated in favor of OpenTelemetry (OTel) trace ingestion.
> This pipeline reaches **end of life on January 31, 2027**.
> After that date, prompt and response event publishing and enrichment scoring stop working.
> Fiddler Guardrails and the evaluators that score OTel traces through Evaluator Rules,
> including the Centor Safety and Faithfulness evaluators, are not affected.
>
> * **Moving From Legacy LLM Monitoring:** see [what replaces what, and the Legacy LLM Monitoring pages](https://docs.fiddler.ai/legacy-llm-monitoring#moving-from-legacy-llm-monitoring).
> * **Start With OTel Tracing:** follow the [OpenTelemetry Quick Start](https://docs.fiddler.ai/developers/quick-starts/opentelemetry-quick-start.md) to send traces from your application,
>   then score them with [Evaluator Rules](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md).
> * **Read the Deprecation Notice:** see the [Release 26.16 notes](https://docs.fiddler.ai/changelog/product-releases.md#release-26-16).
> * **Planning Your Migration?** Contact your Fiddler Customer Success Manager about your timeline and options.

### Moving From Legacy LLM Monitoring

The table pairs each part of Legacy LLM Monitoring with the approach that the Fiddler documentation points to today.

| Legacy LLM Monitoring | Use Today | Start Here |
| - | - | - |
| Publishing prompts and responses as events | OpenTelemetry (OTel) trace ingestion, with a Fiddler SDK or with OpenTelemetry directly | [OpenTelemetry Quick Start](https://docs.fiddler.ai/developers/quick-starts/opentelemetry-quick-start.md), [Fiddler OTel SDK Guide (Python)](https://docs.fiddler.ai/integrations/agentic-ai/fiddler-otel-sdk.md) |
| Enrichments | Evaluators, which score traces through Evaluator Rules | [Evaluator Rules for Live Traffic](https://docs.fiddler.ai/evaluate-and-test/evaluator-rules.md), [Evaluators](https://docs.fiddler.ai/glossary/evaluators.md) |
| Prompt Specs | Custom Judge evaluators, built with the `CustomJudge` class in the Fiddler Evals SDK | [Building Custom Judge Evaluators](https://docs.fiddler.ai/developers/cookbooks/custom-judge-evaluators.md) |
| Compare LLM Outputs | Experiments, with side-by-side comparison | [Experiments Guide](https://docs.fiddler.ai/getting-started/experiments.md) |

The pages in this section:

* [Simple LLM Monitoring](https://docs.fiddler.ai/legacy-llm-monitoring/simple-llm-monitoring.md)
* [Enrichments](https://docs.fiddler.ai/legacy-llm-monitoring/enrichments.md)
* [Selecting Enrichments](https://docs.fiddler.ai/legacy-llm-monitoring/selecting-enrichments.md)
* [LLM Observability Metrics](https://docs.fiddler.ai/legacy-llm-monitoring/llm-observability-metrics.md)
* [LLM-Based Metrics](https://docs.fiddler.ai/legacy-llm-monitoring/llm-based-metrics.md)
* [LLM Evaluation Prompt Specs](https://docs.fiddler.ai/legacy-llm-monitoring/llm-evaluation-prompt-specs.md)
* [Prompt Specs Quick Start](https://docs.fiddler.ai/legacy-llm-monitoring/prompt-specs-quick-start.md)
* [Advanced Prompt Specs](https://docs.fiddler.ai/legacy-llm-monitoring/prompt-specs-advanced.md)
* [Compare LLM Outputs](https://docs.fiddler.ai/legacy-llm-monitoring/llm-evaluation-example.md)

### Monitoring LLM Applications with Fiddler

Monitoring Large Language Model (LLM) applications with Fiddler requires publishing the LLM application's inputs and outputs, including prompts, prompt context, responses, and the source documents retrieved (for RAG-based applications). Fiddler will then generate enrichments, which are LLM trust and safety metrics, for alerting, analysis, or debugging purposes.

Fiddler is a pioneer in the AI Trust domain and, as such, offers the most extensive set of AI safety and trust metrics available today.

### Selecting Enrichments to Enhance Monitoring

Fiddler offers many enrichments that each measure different aspects of an LLM application. For detailed information about which enrichment to select for any specific use case, visit [this](https://docs.fiddler.ai/legacy-llm-monitoring/selecting-enrichments.md) page. Some enrichments use Fiddler Centor Models to generate these scores. Compare Centor Models cost to third-party LLM evaluators with the [Fiddler Evals TCO calculator](https://www.fiddler.ai/evals-tco-calculator).

### Generating Enrichments with Fiddler

LLM application owners must specify the enrichments to be generated by Fiddler during model onboarding. The enrichment pipeline then generates enrichments for the LLM application's inputs and outputs as events are published to Fiddler.

![Fiddler Enrichment Framework diagram displaying sample inputs and outputs flowing into the Fiddler enrichment pipeline.](https://mintcdn.com/fiddlerai/G09wC1jSL7g36xKd/images/e6e869b-screenshot-2024-02-29-at-91729-am.png?fit=max\&auto=format\&n=G09wC1jSL7g36xKd\&q=85\&s=39729dee719dea7df7189762554fdfac)

Figure 1. The Fiddler Enrichment Framework

After the LLM application's raw, unstructured inputs and outputs are published to Fiddler, the enrichment framework augments them with various AI trust and safety metrics. These metrics can monitor the application's overall health and alert users to any performance degradation.

![Fiddler dashboard showing LLM application performance using enrichment metrics.](https://mintcdn.com/fiddlerai/G09wC1jSL7g36xKd/images/a1540d1-screenshot-2024-02-29-at-91822-am.png?fit=max\&auto=format\&n=G09wC1jSL7g36xKd\&q=85\&s=6f1049740ce3d6740ee8a67f7ade60e8)

Figure 2. A Fiddler dashboard showing LLM application performance

Using the metrics produced by the enrichment framework, users can monitor LLM application performance over time and conduct root-cause analysis when problematic trends are identified.

During model onboarding, application owners can opt in to the various, ever-expanding Fiddler enrichments by specifying [Enrichments](https://docs.fiddler.ai/legacy-llm-monitoring/enrichments.md) as custom features in the Fiddler ModelSpec object.

If your application routes LLM traffic through a third-party AI gateway — Kong, AgentGateway, or LiteLLM — see [AI Gateways Overview](https://docs.fiddler.ai/integrations/agentic-ai/ai-gateways.md) to capture prompts, responses, and token usage with no application code changes.

### Key Capabilities

* **Comprehensive Metrics**: Monitor hallucinations, toxicity, relevance, latency, and many other LLM-specific metrics
* **Real-time Analysis**: Track performance as it happens with intuitive dashboards
* **Advanced Enrichments**: Generate embeddings, similarity scores, and specialized trust metrics automatically
* **Drift Detection**: Identify when prompts or responses drift from expected patterns
* **RAG-specific Monitoring**: For retrieval-augmented applications, analyze retrieval quality and source relevance

### Getting Started

Implementing Fiddler LLM monitoring requires just three steps:

**1. Onboard your LLM application**

Define its inputs, outputs, and which enrichment metrics you need.

**2. Publish your application data**

Send prompts, responses, and context to Fiddler.

**3. Monitor performance**

Use dashboards and alerts to track the metrics most important to your use case.

Fiddler handles the complex work of generating enrichments, detecting anomalies, and providing the visualizations you need to maintain high-quality LLM applications.

### Next Steps

> [card] [Quick Start](https://docs.fiddler.ai/legacy-llm-monitoring/simple-llm-monitoring.md)
>
> Stand up LLM monitoring end to end in about 10 minutes.

> [card] Learn
>
> * [Enrichments](https://docs.fiddler.ai/legacy-llm-monitoring/enrichments.md)
> * [LLM-Based Metrics](https://docs.fiddler.ai/legacy-llm-monitoring/llm-based-metrics.md)
> * [Selecting Enrichments](https://docs.fiddler.ai/legacy-llm-monitoring/selecting-enrichments.md)
> * [Embedding Visualization Charts](https://docs.fiddler.ai/observability/platform/embedding-visualization-with-umap.md)

> [card] Reference
>
> * [Connection](https://docs.fiddler.ai/sdk-api/python-client/connection.md) (SDK & API tab)
> * [Install the Python Client](https://docs.fiddler.ai/developers/python-client-guides/installation-and-setup.md)
