From c7ed9fe2c7982ae4f085308aab9df6673fa9bb59 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Tue, 15 Apr 2025 08:41:05 +0200 Subject: [PATCH] Avoid duplicate ID in downstream Closes #38920 Signed-off-by: Alexander Schwartz --- docs/guides/observability/tracing.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/observability/tracing.adoc b/docs/guides/observability/tracing.adoc index b9f9beb6621..da635ba9807 100644 --- a/docs/guides/observability/tracing.adoc +++ b/docs/guides/observability/tracing.adoc @@ -122,9 +122,10 @@ For instance, to disable trace info in the `console` log, you can turn it off as NOTE: When you explicitly override the log format for the particular log handlers, the `*-include-trace` options do not have any effect, and no tracing is included. +[[sampling]] == Sampling -Sampler decides whether a trace should be discarded or forwarded, effectively reducing overhead by limiting the number of collected traces sent to the collector. +The sampler decides whether a trace should be discarded or forwarded, effectively reducing overhead by limiting the number of collected traces sent to the collector. It helps manage resource consumption, which leads to avoiding the huge storage costs of tracing every single request and potential performance penalty. WARNING: For a production-ready environment, sampling should be properly set to minimize infrastructure costs. @@ -135,7 +136,6 @@ WARNING: For a production-ready environment, sampling should be properly set to The used sampler can be changed via the `tracing-sampler-type` property. -[[sampling]] === Default sampler The default sampler for {project_name} is `traceidratio`, which controls the rate of trace sampling based on a specified ratio configurable via the `tracing-sampler-ratio` property.