Skip to main content

best llm monitoring platforms

Summary

  • The best LLM monitoring platforms watch quality as well as health: they score a sample of live traffic with the same judges used in testing and track latency, token usage, cost and errors per step.
  • Open-source MLflow supplies the building blocks: a lightweight production tracing SDK, asynchronous logging, trace sampling and LLM judges that run automatically on newly logged traces.
  • Sampling is a cost decision: score every trace for critical safety checks, and a smaller share for expensive LLM judges.
  • On Databricks, production monitoring (Beta) runs registered MLflow scorers on live traces, and Unity Gateway logs per-request usage, latency and payloads to Unity Catalog tables.

best llm monitoring platforms

The best LLM monitoring platforms tell you when answers get worse, not only when the service slows down. Pick one that samples live traffic and scores it with the same judges you used before release, records latency, tokens, cost and errors for every step of a request, and keeps those records in tables you can query and alert on. Open-source MLflow provides those pieces, and Databricks runs them as a managed service.

What is LLM monitoring?

LLM monitoring is the continuous measurement of a deployed LLM application or agent. It covers two kinds of signal. Operational signals (latency, errors, token usage, cost) say whether the system is healthy. Quality signals (correctness, safety, groundedness, user frustration) say whether it's still giving good answers. Real users find edge cases and ask questions no test set anticipated, so quality has to be measured on live traffic too.

Key capabilities to evaluate

Signal What it tells you Where it should come from
Latency per step Which model or tool call is slow Spans in each trace
Token usage and cost Which users, apps or models drive spend Spans, plus gateway usage logs
Errors and failed tool calls Broken integrations and bad arguments Span status and error details
Quality scores Correctness, safety and groundedness on real requests LLM judges run on sampled traces
Session signals Frustrated users and unresolved conversations Multi-turn judges over grouped traces
User feedback What end users rated good or bad Ratings and comments stored on traces
Payloads Exact inputs and outputs for debugging and audits Request and response logs

Beyond the signals, check for sampling controls, filters that target specific traces, the ability to reuse development scorers unchanged, and storage that supports dashboards and alerts without an export step.

How open-source MLflow handles monitoring

MLflow's production guide lists the setup: a production-grade SQL database as the backend, asynchronous trace logging so logging doesn't block requests, the smaller mlflow-tracing SDK, and MLFLOW_TRACE_SAMPLING_RATIO for high-volume apps. Attach user IDs, session IDs and end-user feedback to traces so you can slice results later.
For quality, MLflow's automatic evaluation runs LLM judges on traces as they're logged to a tracking server. It supports built-in judges and custom judges from make_judge(); code-based scorers aren't supported there. The pattern is register, then start with a sampling configuration. This example is from the Databricks docs:

from mlflow.genai.scorers import Safety, ScorerSamplingConfig

# Only evaluate traces that completed successfully
safety_judge = Safety().register(name="safety")
safety_judge = safety_judge.start(
    sampling_config=ScorerSamplingConfig(
        sample_rate=1.0,
        filter_string="attributes.status = 'OK'",
    ),
)

filter_string uses the same syntax as mlflow.search_traces(). The docs recommend full sampling for critical safety and security scorers and lower rates for expensive LLM judges, trading coverage against compute cost.

How Databricks approaches LLM monitoring

Databricks runs the same MLflow APIs as a managed service and adds a gateway layer for model traffic.

  • Production monitoring (Beta). A monitoring service runs registered scorers on a configurable sample of incoming traces and attaches results as feedback. It supports built-in judges, custom judges, multi-turn judges and @scorer functions defined and registered from a Databricks notebook. Results appear on traces and in monitoring dashboards, and you can backfill scorers over historical traces.
  • Unity Catalog traces. Traces stored as Delta tables are queryable with SQL and can drive AI/BI Dashboards and alerts. For these traces, set a SQL warehouse with set_databricks_monitoring_sql_warehouse_id() before registering scorers, or monitoring jobs fail.
  • Gateway telemetry. Unity Gateway logs token counts, latency and requester details for every routed request to the system.ai_gateway.usage system table, and its built-in usage dashboard tracks request volume, tokens and latency. Inference tables log request and response payloads to Unity Catalog.
  • Spend controls. Unity Gateway budgets set per-user thresholds and hard caps, and rate limits cap consumption on model and MCP services.

See Monitor in production, Set up production monitoring and Unity Gateway observability.

FAQs

How is LLM monitoring different from LLM evaluation?

Evaluation scores a curated dataset before release. Monitoring scores a sample of live traffic after release. Using the same scorers for both keeps the numbers comparable.

How much production traffic should I score?

Score every trace for critical safety and security checks, and a smaller sample for expensive LLM judges. Use moderate rates while you iterate in development.

Why aren't my production scorers running?

Check that traces are logged to the experiment rather than to individual runs, that your filter_string matches real traces, and that low sample rates aren't just slow to show results. For Unity Catalog traces, confirm the SQL warehouse ID is set on the experiment.

Can I monitor apps that call external model providers?

Yes. Unity Gateway can route to external providers with your own keys, and it records estimated external model spend in the system.ai_gateway.external_model_spend table.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.