From c51319cbd54c24c19741e89da3ae02c01b4fcfe6 Mon Sep 17 00:00:00 2001 From: omris1 Date: Thu, 26 Dec 2019 14:06:47 -0500 Subject: [PATCH 1/2] modified APM retention policy to reflect recent updates --- .../guide/trace_sampling_and_storage.md | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/content/en/tracing/guide/trace_sampling_and_storage.md b/content/en/tracing/guide/trace_sampling_and_storage.md index 772929c2044..42e4e0da818 100644 --- a/content/en/tracing/guide/trace_sampling_and_storage.md +++ b/content/en/tracing/guide/trace_sampling_and_storage.md @@ -368,34 +368,7 @@ Note that trace priority should be manually controlled only before any context p ## Trace Storage -Individual traces are stored for up to 6 months. To determine how long a particular trace will be stored, the Agent makes a sampling decision early in the trace's lifetime. In Datadog backend, sampled traces are retained according to time buckets: - -| Retention bucket | % of stream kept | -| :--------------------- | :---------------- | -| 6 hours | 100% | -| Current day (UTC time) | 25% | -| 6 days | 10% | -| 6 months | 1% | - -**Note**: Datadog does not sample Synthetics APM traces. All received traces are stored for 6 hours, and the above stated percent of traces over time. - -That is to say, on a given day you would see in the UI: - -* **100%** of sampled traces from the last six hours -* **25%** of those from the previous hours of the current calendar day (starting at `00:00 UTC`) -* **10%** from the previous six calendar days -* **1%** of those from the previous six months (starting from the first day of the month six months ago) -* **0%** of traces older than six months - -For example, at `9:00am UTC Wed, 12/20` you would see: - -* **100%** of traces sampled on `Wed 12/20 03:00 - 09:00` -* **25%** of traces sampled on `Wed 12/20 00:00` - `Wed 12/20 02:59` -* **10%** of traces sampled on `Thurs 12/14 00:00` - `Tue 12/19 23:59` -* **1%** of traces sampled on `7/1 00:00` - `12/13 23:59` -* **0%** of traces before `7/1 00:00` - -Once a trace has been viewed by opening a full page, it continues to be available by using its trace ID in the URL: `https://app.datadoghq.com/apm/trace/`. This is true even if it "expires" from the UI. This behavior is independent of the UI retention time buckets. +Individual traces are stored for 15 days. This means that all**sampled** traces will be retained for a period of 15 days and at the end of the 30th day, the entire set of expired traces will be deleted. In addition, once a trace has been viewed by opening a full page, it continues to be available by using its trace ID in the URL: `https://app.datadoghq.com/apm/trace/`. This is true even if it "expires" from the UI. This behavior is independent of the UI retention time buckets. {{< img src="tracing/guide/trace_sampling_and_storage/trace_id.png" alt="Trace ID" responsive="true" >}} From 27ff21d1fb35642f70d6437dc394b791f25f2dd3 Mon Sep 17 00:00:00 2001 From: omris1 Date: Thu, 26 Dec 2019 14:21:26 -0500 Subject: [PATCH 2/2] Update content/en/tracing/guide/trace_sampling_and_storage.md Co-Authored-By: ruthnaebeck <19349244+ruthnaebeck@users.noreply.github.com> --- content/en/tracing/guide/trace_sampling_and_storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/tracing/guide/trace_sampling_and_storage.md b/content/en/tracing/guide/trace_sampling_and_storage.md index 42e4e0da818..aa94fe2a35a 100644 --- a/content/en/tracing/guide/trace_sampling_and_storage.md +++ b/content/en/tracing/guide/trace_sampling_and_storage.md @@ -368,7 +368,7 @@ Note that trace priority should be manually controlled only before any context p ## Trace Storage -Individual traces are stored for 15 days. This means that all**sampled** traces will be retained for a period of 15 days and at the end of the 30th day, the entire set of expired traces will be deleted. In addition, once a trace has been viewed by opening a full page, it continues to be available by using its trace ID in the URL: `https://app.datadoghq.com/apm/trace/`. This is true even if it "expires" from the UI. This behavior is independent of the UI retention time buckets. +Individual traces are stored for 15 days. This means that all **sampled** traces are retained for a period of 15 days and at the end of the 30th day, the entire set of expired traces is deleted. In addition, once a trace has been viewed by opening a full page, it continues to be available by using its trace ID in the URL: `https://app.datadoghq.com/apm/trace/`. This is true even if it "expires" from the UI. This behavior is independent of the UI retention time buckets. {{< img src="tracing/guide/trace_sampling_and_storage/trace_id.png" alt="Trace ID" responsive="true" >}}