Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e3c17ca
Add Agent Observability data retention page
gsvigruha Sep 2, 2026
d69e761
Correct dataset record retention on data retention page
gsvigruha Sep 2, 2026
d9d5464
Correct experiment trace retention on data retention page
gsvigruha Sep 2, 2026
88657a7
Add experiment definition retention, soften annotation label claim
gsvigruha Sep 2, 2026
da3f308
Add Agent Observability billing page, scope retention page to retention
gsvigruha Sep 2, 2026
3f046eb
Move Agent Observability billing entry into the product group
gsvigruha Sep 2, 2026
7151ee3
Use Google Vertex AI in the usage estimation table
gsvigruha Sep 2, 2026
a656962
Link pricing to the Agent Observability product section
gsvigruha Sep 2, 2026
bf84424
Add Agent Observability to the pricing page
gsvigruha Sep 2, 2026
21656ae
State Agent Observability rates on the billing and pricing pages
gsvigruha Sep 2, 2026
7c5ad80
Keep rates off the shared pricing page
gsvigruha Sep 2, 2026
a661ef8
Confirm annotation retention as 90 days at no charge
gsvigruha Sep 2, 2026
67278f1
Keep annotation retention on the retention page only
gsvigruha Sep 2, 2026
dad9e81
Document the capabilities included in the base price
gsvigruha Sep 2, 2026
8d0a917
Say how to change a retention period, in one place
gsvigruha Sep 2, 2026
fa7a12b
Simplify the included-features section
gsvigruha Sep 2, 2026
210e2d5
Note the BYOK option for evaluations and patterns
gsvigruha Sep 2, 2026
24b5560
Make BYOK the condition for no extra charge on evals and patterns
gsvigruha Sep 2, 2026
988f1f3
Note the free preview for Datadog-provided evaluation models
gsvigruha Sep 2, 2026
d7210b6
Present BYOK as an option alongside the free default
gsvigruha Sep 2, 2026
046226a
Condense the included-features section
gsvigruha Sep 2, 2026
fe0d524
Reduce the evaluations and patterns note to the BYOK option
gsvigruha Sep 2, 2026
5bf8d1d
Review pass: links, grammar, and conventions
gsvigruha Sep 2, 2026
8bb87fa
Link the existing pricing page instead of restating rates
gsvigruha Sep 3, 2026
bdfd6cc
Trim the pricing page section to the billable unit
gsvigruha Sep 3, 2026
99201fa
Revert the billing pages and link pricing from the landing page
gsvigruha Sep 3, 2026
0c0d62d
Say that retention length affects billing
gsvigruha Sep 3, 2026
9e875e1
Keep the pricing section to pricing
gsvigruha Sep 3, 2026
c1a0b2b
Combine data retention into the data privacy and security page
gsvigruha Sep 3, 2026
68ff510
Rename the page to match its new scope
gsvigruha Sep 3, 2026
b308b53
Merge branch 'master' into gergely.svigruha/agent-obs-pricing-retention
gsvigruha Sep 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hugo/config/_default/menus/main.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5779,8 +5779,8 @@ menu:
parent: llm_obs_configure
identifier: llm_obs_monitoring_automation_rules
weight: 602
- name: Data Privacy, Security, and RBAC
url: llm_observability/data_privacy_security_and_rbac
- name: Data Privacy, Security, and Retention
url: llm_observability/data_privacy_security_and_retention
parent: llm_obs
identifier: llm_obs_data_security_and_rbac
weight: 7
Expand Down
11 changes: 11 additions & 0 deletions hugo/content/en/llm_observability/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ description: Overview of Agent Observability, a platform for monitoring, trouble
aliases:
- /tracing/llm_observability/
further_reading:
- link: "https://www.datadoghq.com/pricing/?product=llm-observability#products"
tag: "Pricing"
text: "Agent Observability pricing"
- link: "/llm_observability/data_privacy_security_and_retention/"
tag: "Documentation"
text: "Learn how long Agent Observability retains your data"
- link: "https://learn.datadoghq.com/courses/llm-obs-tracing-llm-applications"
tag: "Learning Center"
text: "Tracing LLM Applications"
Expand Down Expand Up @@ -123,6 +129,10 @@ The [Agent Observability SDK for Python][3] integrates with frameworks such as O

For more information, see the [Auto Instrumentation documentation][8].

## Pricing

Agent Observability is metered and billed on the number of LLM spans ingested. An LLM span represents a single request to an LLM provider, so one agent workflow can produce several LLM spans. For rates, see the [Agent Observability pricing page][11].

## Ready to start?

See the [Setup documentation][5] for instructions on instrumenting your LLM application or follow the [Trace an LLM Application guide][6] to generate a trace using the [Agent Observability SDK for Python][3].
Expand All @@ -141,3 +151,4 @@ See the [Setup documentation][5] for instructions on instrumenting your LLM appl
[8]: /llm_observability/setup/auto_instrumentation
[9]: /llm_observability/investigate/evaluations/managed_evaluations
[10]: /llm_observability/investigate/patterns
[11]: https://www.datadoghq.com/pricing/?product=llm-observability#products

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
---
title: Data Privacy, Security, and Retention
aliases:
- /llm_observability/data_privacy_security_and_rbac/
- /llm_observability/data_security_and_rbac/
description: Control access to sensitive Agent Observability data with data access controls and RBAC, redact data with span processors, and learn how long Agent Observability retains each type of data.
further_reading:
- link: "/account_management/rbac/data_access"
tag: "Documentation"
text: "Learn more about data access controls"
- link: "/llm_observability/improve/datasets/"
tag: "Documentation"
text: "Work with datasets and dataset versions"
- link: "/data_security/data_retention_periods/"
tag: "Documentation"
text: "See default data retention periods across Datadog products"
- link: "https://www.datadoghq.com/pricing/?product=llm-observability#products"
tag: "Pricing"
text: "Agent Observability pricing"
---
{{< whatsnext desc=" ">}}
{{< nextlink href="https://datadoghq.com/legal/hipaa-eligible-services">}}<u>HIPAA-Eligible Services</u>: Datadog Legal's list of HIPAA-eligible services{{< /nextlink >}}
{{< /whatsnext >}}

## Data Access Control

Agent Observability allows you to restrict access to potentially sensitive data associated with your ML applications to only certain teams and roles in your organization. This is particularly important when your LLM applications process sensitive information such as personal data, proprietary business information, or confidential user interactions.

Access controls in Agent Observability are built on Datadog's [Data Access Control][11] feature, which enables you to regulate access to data deemed sensitive. You can use the `ml_app` tag to identify and restrict access to specific LLM applications within your organization.

## Redacting data with span processors

You can redact or modify sensitive data at the application level before it is sent to Datadog. Use span processors in the Agent Observability SDK to conditionally modify input and output data on spans, or prevent spans from being emitted entirely.

This is useful for:
- Removing sensitive information from prompts or responses
- Filtering out internal workflows or test data
- Conditionally redacting data based on tags or other criteria

For detailed implementation examples and usage patterns, see the [Span Processing section in the SDK Reference][12].

## Sensitive Data Scanner integration

Agent Observability integrates with [Sensitive Data Scanner][13], which helps prevent data leakage by identifying and redacting any sensitive information (such as personal data, financial details, or proprietary information) that may be present in any step of your LLM application.

By proactively scanning for sensitive data, Agent Observability ensures that conversations remain secure and compliant with data protection regulations. This additional layer of security reinforces Datadog's commitment to maintaining the confidentiality and integration of user interactions with LLMs.

## Data retention

Retention periods in Agent Observability depend on the type of data and on your plan. Traces from your instrumented applications follow the span retention period in your plan, while experiment definitions, datasets, and prompts have their own periods.

| Data | Retention period |
| -------------------------------------------- | ----------------------------------------------------------------------------------------- |
| Traces and spans | 15 days; 30, 60, or 90 days with a retention add-on |
| Experiment traces | On-demand plans: 15 days. Committed plans: 90 days. With a retention add-on: 6, 9, or 12 months |
| Experiment definitions and aggregate results | 90 days from creation |
| Annotated traces, spans, and sessions | 90 days from the time of annotation, or your span retention period if that is longer |
| Annotation labels | 90 days, matching the object they annotate |
| Dataset records | 3 years, regardless of your span retention period |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we distinguish current and previous dataset versions in this row? The three-year statement reads as applying to all records, but the Dataset records section below and the linked Dataset versioning docs give previous versions a 90-day window that resets when used.

Suggested wording: “Current version: 3 years. Previous versions: 90 days, reset when used.”

Please also qualify the opening sentence under “Dataset records” as “Records in the current version of a dataset…” so the two summaries agree.

| Prompts in the prompt registry | 3 years, extended each time the prompt is pulled |
| `ml_obs.*` metrics | 15 months |

### Traces and spans

Traces and spans from your instrumented applications are retained for **15 days** on all plans by default. This applies to everything stored on the span, including per-span operational data such as cost, token counts, latency, and errors, as well as evaluation scores attached to spans.

A retention add-on extends this to **30, 60, or 90 days**. See [Changing your retention period](#changing-your-retention-period).

Retention applies to the raw spans you query in the Trace Explorer. Metrics derived from those spans are retained separately, for longer. See [Metrics](#metrics).

### Experiment traces

On committed plans, the traces produced by [experiment][3] runs are retained longer than production traces.

| Plan | Experiment trace retention |
| ----------------------------------- | -------------------------- |
| On-demand | 15 days |
| Committed (monthly or annual) | 90 days |
Comment on lines +77 to +78

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which experiment trace retention period applies to Free-tier organizations? If they are included in one of these rows, could we clarify that briefly so readers can identify their retention period?

| 30-day retention add-on | 6 months |
| 60-day retention add-on | 9 months |
| 90-day retention add-on | 12 months |

If your organization has a custom contract, your retention periods may not match this table. Contact your Datadog account representative to confirm your periods.

### Experiment definitions

The experiment itself — its name, configuration, and aggregate results — is retained for **90 days** from the time it is created. Unlike experiment traces, this period is the same on every plan and does not extend with a retention add-on. Export any experiment results you need to keep beyond 90 days.

### Changing your retention period

Retention length affects what you are billed, because a longer period means Datadog stores more of your data. For rates, see the [Agent Observability pricing page][10].

Retention add-ons are arranged through your account team rather than enabled from the Datadog UI. To request a longer retention period, contact your Datadog account representative or [Datadog support][1].

When you add or extend a retention add-on, the longer period applies **retroactively to every span that has not already expired**. Spans that expired under your previous period are not recoverable.

For example, if you are on the default 15-day retention and add a 60-day add-on today, the spans from the last 15 days pick up the 60-day period, but anything older is already gone.

When you move to a shorter retention period, spans older than the new period are no longer available.

### Annotated objects

Annotating an object extends its retention. When you apply an annotation label or note to a trace, span, or session — whether directly or through an [annotation queue][2] — Datadog retains the annotated object for **90 days** from the time of annotation, even if your span retention period is shorter. Annotating a span retains its whole parent trace, and annotating a trace that belongs to a session retains the whole session.

If your organization's span retention period is longer than 90 days, annotated objects are retained for that longer period instead.

Annotation labels are retained for the same 90 days as the object they annotate, and are no longer viewable after that object expires.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do annotation labels follow the annotated object’s retention period, including when it exceeds 90 days, or do labels expire separately at 90 days? The preceding paragraph allows longer object retention, so “the same 90 days” leaves that case unclear.

If labels follow the object, could we say “Annotation labels are retained for as long as the object they annotate” and update the label rows in both retention tables accordingly?

Also, could the final sentence in this section distinguish notes by whether they are attached, rather than calling them “free-form”? The annotation-queue docs also use “free-form notes” for trace-review observations. Suggested wording: “Adding a note that is not attached to a trace, span, or session does not extend any object’s retention.”


Extending retention by annotating an object does not incur an additional charge.

A free-form note is not attached to a trace, span, or session, so adding one does not extend any object's retention.

### Dataset records

Records in a [dataset][4] are retained for **3 years**, regardless of your span retention period.

Records in previous versions of a dataset are retained for **90 days**. This period is extended each time a previous version is used — for example, when an experiment reads that version. After 90 consecutive days without use, a previous version becomes eligible for permanent deletion. For details on how versions are created, see [Dataset versioning][5].

### Prompts

Prompts in the [prompt registry][9] are retained for **3 years**. This period is extended each time the prompt is pulled by your application, so a prompt in active use stays available. A prompt that is not pulled for 3 years becomes eligible for permanent deletion.

### Metrics

The `ml_obs.*` metrics generated from your spans are standard [Datadog metrics][6] and follow [standard Datadog metric retention][7]: 15 months at full granularity. They are retained on this schedule regardless of your span retention period, so you can build long-term dashboards and monitors on span counts, token usage, cost, latency, and error rates even after the underlying spans expire.

For the full list of available metrics, see [Agent Observability metrics][8].

## Further reading

{{< partial name="whats-next/whats-next.html" >}}

[1]: /help/
[2]: /llm_observability/investigate/annotation_queues/
[3]: /llm_observability/improve/experiments/
[4]: /llm_observability/improve/datasets/
[5]: /llm_observability/improve/datasets/#dataset-versioning
[6]: /metrics/
[7]: /data_security/data_retention_periods/
[8]: /llm_observability/investigate/metrics/
[9]: /llm_observability/configure/prompt_management/
[10]: https://www.datadoghq.com/pricing/?product=llm-observability#products
[11]: /account_management/rbac/data_access
[12]: /llm_observability/instrument/sdk/#span-processing
[13]: /security/sensitive_data_scanner/
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,11 @@ You can manage annotation queues programmatically. The following endpoints are a

| Data | Retention period |
| ----------------- | ----------------------------------------------------|
| Traces in queues | Capped by your organization's trace retention period|
| Annotation labels | Indefinite |
| Traces in queues | Not retained beyond your organization's span retention period, unless annotated |
| Annotated traces | 90 days from the time of annotation, or your span retention period if that is longer |
| Annotation labels | 90 days, matching the trace they annotate |

Annotating a trace extends its retention at no additional charge: a trace that would otherwise expire under a shorter span retention period is retained for 90 days from the time you annotate it. For details, see [Data Privacy, Security, and Retention][16].


## Example workflows
Expand Down Expand Up @@ -402,3 +405,4 @@ Build benchmark datasets with human-verified labels for regression testing and c
[13]: /api/latest/agent-observability/#get-annotation-queue-label-schema
[14]: /api/latest/agent-observability/#update-annotation-queue-label-schema
[15]: /account_management/#email-subscriptions
[16]: /llm_observability/data_privacy_security_and_retention/
6 changes: 3 additions & 3 deletions hugo/content/en/llm_observability/investigate/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ further_reading:
After you instrument your application with Agent Observability, you can access Agent Observability metrics for use in dashboards and monitors. These metrics capture span counts, error counts, token usage, and latency measures for your LLM applications. These metrics are calculated based on 100% of the application's traffic.

<div class="alert alert-info">
The <code>ml_obs.*</code> entries on this page are <a href="/metrics/">Datadog Metrics</a>: numerical values that describe an aspect of your LLM application over time, derived from your LLM spans (counts, distributions of cost, tokens, latency, errors). They are 100%-sampled, follow standard <a href="/developers/guide/data-collection-resolution-retention/">Datadog metric retention</a> (15 months at full granularity), and are queryable from dashboards, monitors, and notebooks like any other Datadog metric.
The <code>ml_obs.*</code> entries on this page are <a href="/metrics/">Datadog Metrics</a>: numerical values that describe an aspect of your LLM application over time, derived from your LLM spans (counts, distributions of cost, tokens, latency, errors). They are 100%-sampled, follow standard <a href="/data_security/data_retention_periods/">Datadog metric retention</a> (15 months at full granularity), and are queryable from dashboards, monitors, and notebooks like any other Datadog metric.
<br><br>
They are distinct from two other things in Agent Observability:
<ul>
<li><strong>Per-span operational data</strong> (cost, tokens, latency, errors on each individual trace or span): the raw values these metrics roll up from. Stored with spans, follow <a href="/llm_observability/setup/#data-retention">Agent Observability trace retention</a>, and are queried from the Traces explorer rather than as metrics.</li>
<li><strong><a href="/llm_observability/investigate/evaluations/">Evaluation scores</a></strong> (also called "evals"): quality and safety judgments (for example, hallucination, faithfulness, custom LLM-as-a-judge) attached to individual spans or experiment rows. These are not derived from operational telemetry, and follow Agent Observability trace and experiment retention rather than Datadog metric retention.</li>
<li><strong>Per-span operational data</strong> (cost, tokens, latency, errors on each individual trace or span): the raw values these metrics roll up from. Stored with spans, follow <a href="/llm_observability/data_privacy_security_and_retention/#traces-and-spans">Agent Observability trace retention</a>, and are queried from the Traces explorer rather than as metrics.</li>
<li><strong><a href="/llm_observability/investigate/evaluations/">Evaluation scores</a></strong> (also called "evals"): quality and safety judgments (for example, hallucination, faithfulness, custom LLM-as-a-judge) attached to individual spans or experiment rows. These are not derived from operational telemetry, and follow <a href="/llm_observability/data_privacy_security_and_retention/">Agent Observability trace and experiment retention</a> rather than Datadog metric retention.</li>
</ul>
</div>

Expand Down
Loading