Repository navigation
Tail Sampling on Opentelemetry Sidecar Collector #10038
|
Hi, |
Answered by
yurishkuro
Apr 29, 2024
Replies: 2 comments
|
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. |
0 replies
Answer selected by
Sayyadd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.