From f5c326a8dfa2b7951c522b6426521b2c5363ef3b Mon Sep 17 00:00:00 2001 From: Colleen McGinnis Date: Fri, 3 Jan 2025 09:11:00 -0600 Subject: [PATCH] clarify that tail-based sampling is only available for es output --- docs/en/observability/apm/configure/sampling.asciidoc | 3 ++- .../apm/data-model/transactions/sampling.asciidoc | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/en/observability/apm/configure/sampling.asciidoc b/docs/en/observability/apm/configure/sampling.asciidoc index cd31a3e079..88eec1a975 100644 --- a/docs/en/observability/apm/configure/sampling.asciidoc +++ b/docs/en/observability/apm/configure/sampling.asciidoc @@ -4,7 +4,8 @@ **** image:./binary-yes-fm-yes.svg[supported deployment methods] -Most options on this page are supported by all APM Server deployment methods. +Most options on this page are supported by all APM Server deployment methods when writing to {es}. +If you are using a different <>, tail-based sampling is _not_ supported. **** Tail-based sampling configuration options. diff --git a/docs/en/observability/apm/data-model/transactions/sampling.asciidoc b/docs/en/observability/apm/data-model/transactions/sampling.asciidoc index af055d6093..5befca3a89 100644 --- a/docs/en/observability/apm/data-model/transactions/sampling.asciidoc +++ b/docs/en/observability/apm/data-model/transactions/sampling.asciidoc @@ -115,6 +115,12 @@ Refer to the documentation of your favorite OpenTelemetry agent or SDK for more [[apm-tail-based-sampling]] == Tail-based sampling +[NOTE] +==== +Tail-based sampling is only supported when writing to {es}. +If you are using a different <>, tail-based sampling is _not_ supported. +==== + In tail-based sampling, the sampling decision for each trace is made after the trace has completed. This means all traces will be analyzed against a set of rules, or policies, which will determine the rate at which they are sampled.