Skip to content

Datadog LLM Observability: what it covers and alternatives

Datadog LLM Observability, now Agent Observability, traces model calls next to APM. What it records, how LLM span billing works, its gaps, and the alternatives.

Published
Reading time
13 min read

In short

  • Datadog LLM Observability is Datadog's product for tracing LLM applications and agents. The docs now call it Agent Observability, while URLs and the pricing anchor still use the old name.
  • Spans arrive four ways: SDK auto-instrumentation in Python, Node.js, and Java, OpenTelemetry spans on the GenAI conventions 1.37 or later, the HTTP API, or a proxy service. The OpenTelemetry path keeps your instrumentation portable to another backend.
  • Datadog bills on LLM spans ingested, one per model call. Tool, retrieval, and workflow spans are free, but evaluator tracing adds billed spans, and LLM judges run on a provider account you connect.
  • It fits teams already on Datadog APM, because LLM spans link to APM spans with no extra setup. The gaps are 15-day default trace retention, cost estimated from list prices, SaaS-only storage, and no support on Datadog's government sites.

Datadog LLM Observability is Datadog's product for tracing, evaluating, and costing LLM applications and agents inside the same account as its APM, logs, and infrastructure monitoring. In 2026 Datadog renamed it Agent Observability. The docs use the new name, while the URLs, environment variables, and pricing anchor still say llm_observability and llmobs, so both names show up in search.

This article covers what the product records, the four ways data gets in, how Datadog bills for it, where it falls short, and the alternatives worth comparing. Feature and pricing details are from Datadog's docs and pricing page as of November 2026.

What Datadog LLM Observability covers

Datadog LLM Observability records each request your application serves as a trace, with a span for every model call, tool call, retrieval, and workflow step, and adds cost, evaluations, sensitive-data scanning, and experiments on top of those traces. Most of what follows is attached to individual spans, so a score or a redaction can be traced back to the input that produced it.

HOW SPANS ARRIVEWHERE THEY CONNECTAuto-instrumentationPYTHON · NODE · JAVAOpenTelemetryGENAI SEMCONV 1.37+HTTP APIANY LANGUAGEProxy or gatewaySERVICE-NAMED SPANSAgent ObservabilityFORMERLY LLM OBSERVABILITYTraces and spansLLM, AGENT, TOOL SPANSCost and tokensESTIMATED FROM LIST PRICESEvaluationsJUDGE · CODE · MANAGEDSensitive Data ScannerINPUTS AND OUTPUTSExperimentsDATASETS · OFFLINE · ONLINEAPM tracesLINKED BY SPAN IDMonitors15-MONTH METRICSBillingPER LLM SPAN INGESTEDddog-gov sitesNOT SUPPORTED
The four ways spans reach Agent Observability, what the product does with them, and where the data connects inside Datadog. The dashed path is the one Datadog does not support: its government sites.

The pieces, as the docs list them:

  • Traces and spans. A trace can be a single inference, a fixed workflow, or a dynamic agent run. Spans have one of seven kinds: LLM, workflow, agent, tool, task, embedding, and retrieval. Only LLM, workflow, and agent spans can be the root of a trace.
  • Cost and tokens. Datadog estimates the cost of each LLM and embedding span from token counts and the provider's public prices, for more than 800 models, and breaks it down by cached input, cache writes, and reasoning output where the provider reports them.
  • Evaluations. Custom LLM-as-a-judge evaluators, code evaluators that run a JavaScript function on spans, managed evaluators, end-user feedback, and external scores submitted through the API.
  • Sensitive Data Scanner. Scans prompt and response pairs for personal, financial, and health data and redacts matches after ingestion.
  • Experiments. Versioned datasets, offline experiments, online experiments on live traffic, a playground, and annotation queues for human review.
  • Analysis. Patterns clusters production traffic by topic, and Insights flags recurring cost and reliability problems in existing traces with a suggested fix.

Datadog also lists prompt management and tracking, multimodal spans with inline images and audio, and Lapdog, a local dashboard that captures spans from an application or a coding agent without a Datadog account. Prompt-injection detection appears in the overview, and AI Guard, a separate real-time guardrail product, was in preview in November 2026.

How data gets into Datadog LLM Observability

Spans reach Datadog LLM Observability through the SDK's auto-instrumentation, through OpenTelemetry, through an HTTP API, or from a proxy service instrumented with the SDK. Which path you pick decides how much of your instrumentation survives if you later change backends.

PathWhat it needsWhat you getPortable to another backend
SDK auto-instrumentationddtrace (Python), dd-trace (Node.js), or the Java tracerSpans for supported libraries with no code changesNo
SDK manual spansThe same SDK, plus decorators or context managersCustom workflow, agent, and tool spans, span processorsNo
OpenTelemetryOTLP export with GenAI conventions 1.37+ or OpenInferenceTraces without the Datadog SDK or AgentYes
HTTP APIAny language that can send JSONSpans and evaluations submitted directlyPartly

The Python SDK auto-instruments OpenAI and Azure OpenAI, Anthropic, Amazon Bedrock and Bedrock Agents, Google GenAI, Vertex AI, MistralAI, LiteLLM, vLLM, and MCP, plus the agent frameworks LangChain, LangGraph, CrewAI, Google ADK, OpenAI Agents, Pydantic AI, and the Claude Agent SDK. The Node.js list is shorter and adds the Vercel AI SDK. Java auto-instruments only the OpenAI client. A Go SDK exists but is experimental and manual only, because dd-trace-go has no LLM provider integrations.

Setup in Python is a handful of environment variables and an import before anything else in the process:

.env
DD_LLMOBS_ENABLED=true
DD_LLMOBS_ML_APP=support-bot
DD_LLMOBS_AGENTLESS_ENABLED=true   # send straight to Datadog, no local Agent
DD_API_KEY=<your-api-key>
DD_SITE=datadoghq.com
app.py
from dotenv import load_dotenv
 
load_dotenv()
 
import ddtrace.auto  # must come before the application's own imports

The OpenTelemetry path

Datadog LLM Observability accepts OpenTelemetry traces that follow the GenAI semantic conventions 1.37 or later, or the OpenInference conventions, with no Datadog SDK and no Datadog Agent. Datadog lists tested instrumentations for OpenAI, Anthropic, Bedrock, LangChain, LlamaIndex, OpenLLMetry, Strands Agents, Spring AI, LangChain4j, and Claude Platform's own export.

Conversion into Agent Observability spans is switched on by a resource attribute, not by the endpoint:

otel.env
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=<your-datadog-otlp-traces-endpoint>
OTEL_EXPORTER_OTLP_TRACES_HEADERS=dd-api-key=<your-api-key>,dd-otlp-source=llmobs
OTEL_RESOURCE_ATTRIBUTES=dd_llmobs_enabled=true

Three details from the docs matter here. The dd-otlp-source=llmobs header labels the source but does not turn conversion on, so the resource attribute is required. Setting dd_llmobs_enabled on one span instead of the resource can leave large traces partly converted. And some of the data may also be written to the matching APM traces, so a restricted dataset that protects prompts in Agent Observability needs a matching one on APM.

The OpenTelemetry path is the one to prefer if you might leave. The same spans can be sent to Langfuse, Phoenix, MLflow, or Grafana by changing the exporter endpoint. The GenAI conventions are still marked as in development in the OpenTelemetry repository, so pin your instrumentation version, as the LLM observability guide recommends.

Gateways and proxies

A gateway or proxy that serves several applications can report its own spans under a service name instead of an application name, following Datadog's proxy service pattern. The calling application opens a workflow span, the proxy's LLM span lands inside the same end-to-end trace, and you can filter Agent Observability down to traffic through that proxy. Without it, a gateway in front of the providers produces model calls that no application trace contains.

How Datadog LLM Observability is billed

Datadog bills Agent Observability on the number of LLM spans ingested. An LLM span is one request to a model provider. Tool, retrieval, task, and workflow spans are not billed, so cost tracks model calls rather than the length of the trace around them.

Datadog's pricing page listed the following on 23 November 2026:

PlanListed priceIncluded
Free$0Up to 40K LLM spans a month, 15-day trace retention
Pro, annualFrom $160 a month100K LLM spans a month, then $3.50 per 10K
Pro, month-to-monthFrom $200 a month100K LLM spans a month, then $4.20 per 10K
Pro, on-demandFrom $240 a month100K LLM spans a month, then $5 per 10K

Every tier includes tracing, evaluations, experiments, datasets, and dashboards. Sensitive Data Scanner is included with an allotment of 1 GB of scanning for every 10K LLM spans. Retention beyond 15 days, and multi-year or volume discounts, are arranged with Datadog's account team. Agent Observability can be bought on its own, with no other Datadog subscription.

As arithmetic on those list prices, before any discount: an agent that makes three model calls per request, at one million requests a month, ingests 3 million LLM spans. On Pro annual that is $160 for the first 100K plus 290 blocks of 10K at $3.50, or $1,175 a month. The span count per request is the number to measure first, because agents vary it from run to run.

Two costs sit outside the span count:

  • Judge calls. A custom LLM-as-a-judge evaluator runs on a model provider account you connect (OpenAI, Azure OpenAI, Anthropic, Bedrock, Vertex AI, and others), so the provider bills the judge's tokens. Datadog's evaluation scope settings include a sampling rate for this reason, and the LLM-as-a-judge guide covers how much traffic to grade.
  • Evaluator tracing. Turning on tracing for an evaluator sends its own spans, which the docs say increases billed spans.

Who Datadog LLM Observability fits

Datadog LLM Observability fits teams that already run Datadog APM and want LLM traces in the same place as their service traces, monitors, and on-call routing. The SDK is built on Datadog's APM tracer, so with the Python SDK and ddtrace you can jump between an LLM span and its APM span with no extra setup.

That correlation is the product's strongest argument. A slow chat response can be followed from the LLM span to the database query or the queue that held it up, in one trace. Cost and token metrics (ml_obs.*) are kept for 15 months and can drive the same monitors and dashboards as everything else in the account. Access controls reuse Datadog's Data Access Control, scoped by the ml_app tag.

It fits less well where traces carry data that must not leave your infrastructure, where your applications are in Go, or where the team that owns LLM quality does not use Datadog day to day.

Gaps and limits

Datadog LLM Observability's gaps are retention, cost accuracy, where the data lives, government deployments, and enforcement.

  • Retention. Traces and spans, including the evaluation scores on them, are kept for 15 days by default on every plan. Add-ons extend that to 30, 60, or 90 days through the account team, and an extension applies only to spans that have not expired yet. A quality regression found in week three has no traces left to inspect unless you exported them.
  • Cost accuracy. Automatic cost uses public list prices. Negotiated discounts, committed-use pricing, and self-hosted models need manually supplied costs, and partial cost data is filled in with estimates that may not add up to the total you sent.
  • Where the data lives. Datadog is SaaS. Prompts and responses are stored in Datadog unless you remove them first with SDK span processors, because Sensitive Data Scanner redacts after the data arrives. The PII redaction article covers redacting before export.
  • Government sites. Agent Observability is not supported on Datadog's app.ddog-gov.com and us2.ddog-gov.com sites, and the pricing page lists it as unavailable on US-FED.
  • Judge data residency. The docs state that LLM judges do not support OpenAI's data residency option.
  • Language coverage. Auto-instrumentation is deepest in Python. Java covers only the OpenAI client, and Go is experimental and manual.
  • Enforcement. Observability records what happened. It does not block a request, cap a budget, or fail over a provider. Datadog's own AI Gateway, with routing rules, access policies, budgets, and rate limits, was in preview in November 2026.

Datadog LLM Observability alternatives

The main alternatives to Datadog LLM Observability are open-source LLM backends you can self-host (Langfuse, Arize Phoenix, MLflow), another general observability platform with LLM views (Grafana Cloud), or OpenTelemetry GenAI spans sent to whatever backend you already run. Whichever backend you pick, it only sees what your instrumentation sends it.

A gateway is a second source of that data, not a replacement for any of these backends. Bifrost, an open-source AI gateway by Maxim AI, records every request it routes and exports OpenTelemetry traces on the GenAI conventions and Prometheus metrics for tokens, cost, time to first token, and errors per provider and model, so traffic from services nobody instrumented still reaches the backend. For Datadog specifically, its Datadog connector, which ships with Bifrost Enterprise, writes LLM spans, APM traces, and metrics directly. It has a gateway mode that follows Datadog's proxy service pattern, and a disable_content_logging option that keeps message content out of Datadog while tokens, cost, and latency still arrive. The agent observability guide covers how gateway spans join an agent's own trace.

OptionTypeLicense or hostingHow it takes data
LangfuseLLM backendMIT core with separately licensed enterprise directories; self-hosted or cloudOTLP at /api/public/otel, plus its own SDKs
Arize PhoenixLLM backendElastic License 2.0; Docker, Compose, or HelmOpenTelemetry, with OpenInference instrumentation
MLflow TracingTracing in an ML platformApache 2.0; self-hostedOpenTelemetry-compatible, GenAI conventions for export and ingest
Grafana CloudGeneral platformSaaSOpenTelemetry, thin SDKs, or the OpenLIT integration
OpenTelemetry GenAI to your backendInstrumentation standardApache 2.0 instrumentation, any OTLP backendOTLP through a collector

Langfuse

Langfuse is an open-source LLM engineering platform with tracing, evaluation, and prompt management. The code outside its ee directories is MIT-licensed, and a self-hosted deployment runs two containers on PostgreSQL, ClickHouse, Redis or Valkey, and S3-compatible storage. It receives OTLP traces at /api/public/otel, so OpenTelemetry instrumentation pointed at Datadog can be redirected to it. Pick it when prompts must stay in your own infrastructure and you are prepared to run ClickHouse.

Arize Phoenix

Phoenix is built on OpenTelemetry and gets auto-instrumentation from the separate OpenInference project. It covers tracing, evaluations, datasets, experiments, a prompt playground, and prompt management, and deploys with Docker, Docker Compose, or a Helm chart. It is licensed under the Elastic License 2.0, which is source-available rather than an OSI license, so check it against your policy before you plan to offer it as a hosted service.

MLflow Tracing

MLflow Tracing records the inputs, outputs, and metadata of each step in an LLM or agent request, and its docs describe it as fully OpenTelemetry-compatible, including the GenAI conventions for export and ingestion. MLflow is Apache 2.0 and self-hosted, and tracing connects to MLflow's evaluation features. It suits teams that already track models and experiments in MLflow.

Grafana Cloud

Grafana Cloud's Agent Observability is built on OpenTelemetry, with SDKs for Go, Python, TypeScript, Java, and .NET, integrations for LangChain, LangGraph, OpenAI Agents, and the Vercel AI SDK, online evaluation rules, and offline experiments. A separate OpenLIT integration generates traces and metrics through the OpenLIT SDK and installs prebuilt dashboards. It is the closest like-for-like replacement for teams whose metrics, logs, and traces already live in Grafana.

OpenTelemetry GenAI spans with any backend

The lowest-commitment option is instrumentation, not a product. Emit spans on the GenAI conventions, route them through an OpenTelemetry Collector, and send them to Tempo, Jaeger, or any OTLP backend you already run. You get latency, errors, and token counts with standard attribute names. Evaluations, experiments, and cost dashboards are yours to build.

How to choose

Choose by where your other telemetry already lives, and by whether prompt and response text is allowed to leave your infrastructure.

IfThen
Your services already run on Datadog APMDatadog LLM Observability, instrumented over OpenTelemetry where you can
Prompts must stay in your own infrastructureLangfuse, Phoenix, or MLflow, self-hosted
Your telemetry is already in GrafanaGrafana Cloud, or OpenTelemetry spans into Tempo
You need long trace retention for auditsA self-hosted backend, or a Datadog retention add-on priced in
You are unsure which backend you will keepOpenTelemetry GenAI instrumentation first, backend second

Whatever you choose, record the same fields on every model call so a later move changes the destination and not the data. The LLM observability guide lists those fields and their OpenTelemetry names.

Frequently asked questions

What is Datadog LLM Observability?

Datadog LLM Observability is a Datadog product for monitoring LLM applications and AI agents. It records each request as a trace of LLM, agent, tool, and retrieval spans, estimates token cost, runs evaluations, scans for sensitive data, and links LLM spans to Datadog APM traces. Datadog now calls it Agent Observability.

Is Datadog LLM Observability now called Agent Observability?

Yes. Datadog's docs and pricing page name the product Agent Observability. The documentation URLs, the DD_LLMOBS_* environment variables, the ddtrace.llmobs module, and the pricing anchor still use the LLM Observability name, so both terms refer to the same product.

How much does Datadog LLM Observability cost?

Datadog bills it per LLM span ingested, one span per model call. On 23 November 2026 the pricing page listed a free tier of up to 40K LLM spans a month and a Pro tier from $160 a month on an annual commitment for 100K spans, then $3.50 per 10K. Check the pricing page for current rates.

Does Datadog LLM Observability support OpenTelemetry?

Yes. It ingests OpenTelemetry traces that follow the GenAI semantic conventions 1.37 or later, or the OpenInference conventions, without the Datadog SDK or Agent. Set dd_llmobs_enabled=true as a resource attribute so the traces are converted into Agent Observability spans.

Do you need Datadog APM to use LLM Observability?

No. Datadog sells Agent Observability as a standalone product. The advantage of having APM is correlation: with the Python SDK and ddtrace, an LLM span links to its APM span, so you can follow a slow response to the service or query that caused it.

What are the alternatives to Datadog LLM Observability?

Langfuse and Arize Phoenix are LLM-specific backends you can self-host, MLflow Tracing suits teams already on MLflow, and Grafana Cloud is the closest general-platform equivalent. Instrumenting with OpenTelemetry GenAI conventions keeps the choice open, because the same spans can go to any of them.

Sources

  1. 01Agent ObservabilityDatadog docs
  2. 02Agent Observability instrumentationDatadog docs
  3. 03Automatic instrumentation for Agent ObservabilityDatadog docs
  4. 04OpenTelemetry instrumentationDatadog docs
  5. 05Agent Observability terms and conceptsDatadog docs
  6. 06Correlating Agent Observability and APMDatadog docs
  7. 07Tracing proxy servicesDatadog docs
  8. 08EvaluationsDatadog docs
  9. 09Custom LLM-as-a-judge evaluatorsDatadog docs
  10. 10CostDatadog docs
  11. 11Data governanceDatadog docs
  12. 12Agent Observability pricingDatadog
  13. 13AI GatewayDatadog docs
  14. 14semantic-conventions-genaiGitHub, OpenTelemetry
  15. 15OpenTelemetry integrationLangfuse docs
  16. 16Self-hosting LangfuseLangfuse docs
  17. 17PhoenixGitHub, Arize AI
  18. 18MLflow TracingMLflow docs
  19. 19Agent ObservabilityGrafana Cloud docs
  20. 20DatadogBifrost docs
  21. 21OpenTelemetry tracingBifrost docs
  22. 22Prometheus metricsBifrost docs