What is the best open source LLM observability tool?
Summary
- We believe MLflow is the best open source choice for LLM and agent observability for most teams: it's Apache 2.0 licensed, part of the Linux Foundation community, and covers tracing, evaluation and feedback in one project.
- MLflow Tracing is fully compatible with OpenTelemetry and natively supports the GenAI semantic conventions, so traces stay portable and can be exported over OTLP to any OpenTelemetry-compatible backend.
- Judge any tool on more than its dashboards: check automatic instrumentation for your frameworks, evaluation on the same traces, queryable storage, access control and the license.
- On Databricks, the same open source MLflow runs fully managed, and traces can be stored as Unity Catalog Delta tables with table-level permissions and SQL access.
- Agents running anywhere can send traces to Databricks, either with the MLflow SDK or from any OpenTelemetry client through a Databricks-hosted OTLP endpoint.
What is the best open source LLM observability tool?
We believe MLflow is the best open source LLM observability tool for most teams building LLM applications and agents. It's Apache 2.0 licensed, its community is part of the Linux Foundation, and MLflow Tracing is fully compatible with OpenTelemetry. It also goes past observability. The traces it captures feed evaluation with LLM judges and human feedback in the same project, so debugging, measuring and improving an agent share one data model. You can self-host it, or run the same MLflow fully managed on Databricks.
What is LLM observability?
LLM observability is the practice of recording what an LLM application or agent did on each request, so you can explain its behavior, find failures and track cost. The core unit is a trace: a tree of spans for each model call, retrieval, tool call and sub-agent step, with inputs, outputs, latency and token usage. For agents, observability has to connect to quality. A request can succeed technically and still return a wrong or ungrounded answer, and only evaluation catches that.
Key capabilities to evaluate
| Capability | Why it matters |
|---|---|
| OpenTelemetry compatibility | Traces stay portable across backends and standard collectors |
| Automatic instrumentation | Autologging captures spans without hand-written instrumentation in every framework |
| Agent-aware traces | Spans for model calls, retrieval, tools and sub-agents show where a run went wrong |
| Evaluation on the same traces | LLM judges and human feedback attach to the traces you already capture |
| Production-safe logging | Asynchronous logging keeps trace export in the background |
| Queryable storage and retention | You can analyze traces with SQL and keep them as long as you need |
| Access control | Traces hold prompts and user data, so they need governance |
| License and community | A permissive license and an open community lower lock-in risk |
Why MLflow fits these criteria
- Open and portable. MLflow Tracing natively supports the OpenTelemetry GenAI semantic conventions. Every trace is a set of OpenTelemetry spans, and MLflow can export them over OTLP to any OpenTelemetry-compatible platform, either exclusively or as a dual export.
- Automatic tracing. Autologging covers widely used agent and LLM libraries, including LangChain, LangGraph, DSPy and LlamaIndex. One autolog call captures a span for each step.
- Evaluation built in. The same traces feed
mlflow.genai.evaluate(), built-in and custom LLM judges, and expert feedback that you can use to align judges to your standards. - Production-friendly. With async logging enabled, MLflow writes traces in the background.
- Self-hosted or managed. A self-hosted deployment keeps trace data on your own infrastructure, and Databricks offers the same project as a managed service.
How Databricks approaches LLM observability
Databricks runs the same open source MLflow, fully managed. You use the standard MLflow SDK and OpenTelemetry, with no tracking server to run and no version to maintain. Three additions matter in production:
- Unity Catalog trace storage. Databricks recommends storing traces in Unity Catalog for new and production workloads. Traces are kept in OpenTelemetry format as Delta tables, with no per-experiment trace limit, access managed through Unity Catalog schema and table permissions, and SQL access through a Databricks SQL warehouse. You can build AI/BI Dashboards and alerts on top of them.
- Any agent, anywhere. Third-party OpenTelemetry clients can write to those tables through the Databricks-hosted OTLP traces endpoint at
/api/2.0/otel/v1/traces, and traces with a root span appear in the linked MLflow experiment. The agent itself can run anywhere. - Quality on the same data. MLflow evaluation and LLM judges run against the traces you store, so a failure you find in a trace can become a case in your evaluation dataset.
Teams that start with self-hosted MLflow keep the same SDK calls when they move to Databricks, which changes where traces live and who can read them, not how the agent is instrumented.
FAQs
Is MLflow Tracing compatible with OpenTelemetry?
Yes. MLflow Tracing is fully compatible with OpenTelemetry and supports the GenAI semantic conventions, so traces can be exported over OTLP to any OpenTelemetry-compatible backend.
Can I self-host MLflow for LLM observability?
Yes. MLflow is open source under the Apache 2.0 license, and a self-hosted deployment keeps trace data on your own infrastructure.
What does Databricks add to open source MLflow?
A fully managed service with no tracking server to run, trace storage in Unity Catalog Delta tables with table-level access control and SQL access, and LLM judges that evaluate the same traces.
Does it work for agents that run outside Databricks?
Yes. Agents running elsewhere can log traces to a Databricks workspace with the MLflow SDK, or send them from any OpenTelemetry client to the Databricks-hosted OTLP endpoint.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.