Skip to content

How can we record specific traces 100% of the time when sampling is enabled? #1568

Answered by arielvalentin
travisbell asked this question in Q&A
Discussion options

You must be logged in to vote

The only real supported way of doing this is using Tail Sampling in the OTel Collector:

The OTel Probabilistic Sampling Processor also has some backward compatibility with OpenTracing sampling.priority but it only works capturing all details of a trace across services if you use a single collector or if you add that attribute to every single span related to that trace.

https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/probabilisticsamplerprocessor#probabilistic-sampling-processor

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@travisbell
Comment options

Answer selected by travisbell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants