Skip to main content

best LLM observability tools

Summary

  • The best LLM observability tools work as one kit: a tracer that captures every model, tool and retrieval call, a trace explorer, an evaluator, a feedback tool and prompt versioning, all sharing one data model.
  • Open-source MLflow provides that kit in a single Apache 2.0 package, and one mlflow.<framework>.autolog() call is enough to start tracing a supported framework.
  • Coding agents can do the setup: MLflow's setup wizard launches a coding agent to instrument your app and verify a trace, and the MLflow MCP server gives agents live access to traces.
  • On Databricks, the same code points at a workspace with mlflow.set_tracking_uri("databricks"), and traces land in Unity Catalog where SQL, dashboards and Genie Code can use them.

best LLM observability tools

The best LLM observability tools are the ones your team will actually keep instrumented, which usually means fewer, better-connected tools. You need a tracer, a way to explore traces, an evaluator, a feedback channel and prompt versioning, and they're easiest to use when they share one data model, so a trace, its scores and its feedback are the same record. Open-source MLflow bundles all five, so it's the toolkit to install first.

What are LLM observability tools?

LLM observability tools record what an LLM application or agent did on each request and help you judge whether it did it well. General application monitoring shows request latency and errors. LLM observability adds what the model saw and returned at each step, the tools it called, token usage and cost, and quality assessments attached to the same record.

Key capabilities to evaluate

Tool in the stack What it should do
Tracer Capture a span for every model call, tool call and retrieval step, with one-line setup for your framework
Trace explorer Search and filter traces, open the span tree, and inspect inputs, outputs, timing and errors
Evaluator Score outputs and whole traces with LLM judges and code-based checks
Feedback tool Record ratings, comments and ground-truth answers on the trace itself
Prompt versioning Tie a quality change to the prompt version that caused it
Coding-agent access Let coding agents add instrumentation and query traces from the IDE
Export path Send traces to other OpenTelemetry backends if your needs change

How to set up the open-source MLflow toolkit

MLflow is an Apache 2.0 project under the Linux Foundation. Start a tracking server, point your app at it, and turn on autologging for your framework:

uvx mlflow server
import mlflow

mlflow.set_tracking_uri("http://localhost:5000")
mlflow.set_experiment("my-agent")
mlflow.langchain.autolog()  # LangGraph uses LangChain's autolog

# Run your app as usual. Each request now appears in the MLflow UI as a trace.

From there, each tool in the table maps to a part of MLflow:

  • Tracer. mlflow.<framework>.autolog() covers frameworks such as LangChain, LangGraph, LlamaIndex, DSPy and CrewAI, and @mlflow.trace adds spans for your own functions. Tracing is fully OpenTelemetry-compatible.
  • Trace explorer. The Traces tab in the MLflow UI shows the span tree and each step's inputs, outputs and timing.
  • Evaluator. mlflow.genai.evaluate() runs built-in judges such as Correctness and Safety, custom judges from make_judge(), and @scorer functions.
  • Feedback tool. Feedback from users and domain experts is attached to traces with metadata such as user and timestamp.
  • Prompt versioning. The MLflow prompt registry versions prompts alongside your traces and evaluations.
  • Coding-agent access. The MLflow setup wizard (curl -LsSf https://mlflow.org/wizard/setup.sh | sh) connects to an MLflow server or Databricks workspace and launches your coding agent to add tracing. uvx mlflow agent setup installs MLflow skills that teach coding agents the tracing and evaluation APIs.

How Databricks approaches LLM observability tools

Managed MLflow on Databricks is the same open-source MLflow, so the code above works after you change the tracking URI to mlflow.set_tracking_uri("databricks") and use a workspace experiment path such as /Shared/my-first-trace. There's no tracking server to run.

  • Traces in Unity Catalog. Traces can be stored as Unity Catalog Delta tables in OpenTelemetry format, with no per-experiment trace limit and Unity Catalog permissions.
  • More ways to explore. Query spans with SQL through a SQL warehouse, build AI/BI Dashboards, or ask Genie Code about trace data in natural language.
  • MLflow MCP server. With mlflow[databricks,mcp] installed, coding agents can search traces with errors, inspect a trace or log feedback without opening the Databricks UI.
  • Expert labeling. The Review App runs labeling sessions so domain experts can grade real traces.
  • Model traffic. Unity Gateway logs per-request token counts, latency and requester to the system.ai_gateway.usage system table.

See What is agent observability and quality?, the MLflow MCP server setup and automatic tracing.

FAQs

What's the minimum LLM observability setup?

A tracer with autologging and a place to view traces. Add evaluation and feedback once real traces show you what to measure.

Do I need to change my code to add observability?

Very little. One autolog call per framework traces library calls, and the @mlflow.trace decorator covers your own functions.

Can a coding agent set up observability for me?

Yes. Run the MLflow setup wizard from your repository and it launches your coding agent to instrument the app and verify a trace. MLflow skills and the MLflow MCP server help the agent write accurate code and read traces.

Are these tools open source?

The MLflow tracing, evaluation, judges, scorers, prompt registry and human feedback APIs are open source. Managed MLflow on Databricks adds hosting, Unity Catalog storage and governance, Genie Code and the Review App.

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