where to find llm observability
Summary
- LLM observability lives in a handful of places: an open-source tracing project such as MLflow, the autologging hooks for the framework you already use, OpenTelemetry instrumentation, your model gateway's usage logs, and managed platforms that host all of it.
- The quickest start is open-source MLflow: install it with
pip install mlflow, start a tracking server withmlflow server, and turn on one-line autologging for your framework. - To look before you install anything, MLflow hosts a public demo at demo.mlflow.org with sample traces, and
uvx mlflow demoruns one locally without a tracking server. - On Databricks, LLM observability is built in: managed MLflow traces appear under each experiment's Traces tab, can be stored in Unity Catalog, and Unity Gateway records token usage and latency for governed model calls.
where to find llm observability
You'll find LLM observability in open-source tracing projects, in your framework's autologging hooks, in OpenTelemetry instrumentation, in your model gateway's logs and in managed data and AI platforms. For most developers the right first stop is open-source MLflow, because a single install gives you tracing, a trace UI, search, feedback and LLM judges, and its traces are fully OpenTelemetry-compatible. If your models already run behind a gateway, its usage logs give you a second, complementary view of tokens, latency and cost across every call.
What you're looking for
LLM observability means seeing what happened inside each request: the prompt, any retrieved context, each model and tool call, the output, and the latency and token usage of every step. MLflow's docs describe the goal as capturing "the inputs, outputs, and metadata associated with each intermediate step of a request" so you can pinpoint where bugs and unexpected behavior come from.
Where to find LLM observability
| Where to find it | What you get | What it takes |
|---|---|---|
| Open-source MLflow, self-hosted | Traces, a trace UI, search, feedback, LLM judges | Run a tracking server and its database |
| The MLflow demo | A pre-loaded instance with sample traces to explore | Visit demo.mlflow.org or run uvx mlflow demo |
| Framework autologging | Spans for each LLM call, tool call and agent step | One mlflow.<library>.autolog() line |
| OpenTelemetry instrumentation | Vendor-neutral spans from any language | An OTLP exporter pointed at a backend such as an MLflow server |
| Model gateway logs | Tokens, latency, requester and cost for every model call | Route model traffic through the gateway |
| Managed MLflow on Databricks | All of the above with no server to run and governed storage | A Databricks workspace |
How to get LLM observability running with open-source MLflow
The self-hosting guide starts with two commands. As of MLflow 3.7.0 the default backend store is SQLite, so nothing else is needed for a first run:
pip install mlflow
mlflow server --port 5000
Then point your application at the server and enable autologging for your framework:
import mlflow
mlflow.set_tracking_uri("http://localhost:5000")
mlflow.set_experiment("llm-observability")
mlflow.langchain.autolog()
Run your app, open the MLflow UI in a browser, pick the experiment and go to its Traces page; click a trace ID to see that request's span tree. MLflow's integrations list covers frameworks such as LangGraph, LlamaIndex, DSPy and CrewAI. For code that autologging doesn't reach, add the @mlflow.trace decorator. For production, the docs recommend a database such as PostgreSQL or MySQL, async trace logging and the lighter mlflow-tracing package.
If you already emit OpenTelemetry, the MLflow server accepts OTLP traces at /v1/traces, per its OpenTelemetry docs.
Where to find LLM observability on Databricks
On Databricks you don't install or host anything. MLflow Tracing is "the same open-source MLflow, fully managed," and the same SDK calls work with mlflow.set_tracking_uri("databricks").
- Traces: in your workspace, go to Experiments, open the experiment and click the Traces tab. Each trace opens to its span tree with every step's inputs, outputs, timing and errors.
- Natural-language questions: click the Genie Code icon while viewing an experiment to ask about failing traces, latency or token usage.
- Governed storage: store traces in Unity Catalog to keep them as OpenTelemetry-format Delta tables you can query with SQL.
- Usage across all model calls: Unity Gateway observability logs token counts, latency and requester for every routed request to the
system.ai_gateway.usagesystem table and offers a built-in usage dashboard.
FAQs
Is there an open-source LLM observability tool?
Yes. MLflow is open source under the Apache 2.0 license and is a Linux Foundation project. Its tracing is fully OpenTelemetry-compatible, and self-hosting keeps trace data on your own infrastructure.
Where do traces show up after I turn on autologging?
In the MLflow UI. Open the experiment you set with mlflow.set_experiment() and go to its Traces page. On Databricks, it's the Traces tab of the experiment under Experiments in your workspace.
Do I have to change my application code?
Very little. One autolog() call instruments a supported framework, and @mlflow.trace covers your own functions. Prompts, model calls and tool calls are then captured as spans.
Where do I see token usage and cost for every LLM call?
Per request, in the trace, which records token usage for each step. Across the whole organization, in your gateway's usage logs; on Databricks that's the system.ai_gateway.usage table and the Unity Gateway usage dashboard.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.