Skip to content

Tail Sampling on Opentelemetry Sidecar Collector #10038

Answered by yurishkuro
Sayyadd asked this question in Q&A
Discussion options

You must be logged in to vote

Tail sampling needs to collect all spans for a trace before making a decision. A sidecar collector would normally only see a subset of a trace, assuming you have a distributed system with many services and many sidecars. So yes, you need to do tail sampling in the last stage collector which accepts traffic already partitioned by trace IDs.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Sayyadd
Comment options

You must be logged in to vote
0 replies
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