Skip to content

Commit

Permalink
clarify that tail-based sampling is only available for es output (#4734)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7a2673c)
  • Loading branch information
colleenmcginnis authored and mergify[bot] committed Jan 3, 2025
1 parent 9f9461e commit dea9a59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/observability/apm/configure/sampling.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<apm-configuring-output,output>>, tail-based sampling is _not_ supported.
****

Tail-based sampling configuration options.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<apm-configuring-output,output>>, 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.

Expand Down

0 comments on commit dea9a59

Please sign in to comment.