You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I specify WithNewRoot, the parent span context is not used when getting the trace ID, or generating the new span id. However, it is still used if you have a ParentBased sampler.
WithPublicEndpoint() would seem to imply that we don't trust incoming span contexts, and my expectation was that we wouldn't want to use them to make sampling decisions.
WithNewRoot(), on the other hand, would seem to only imply that the spans started are root spans. It doesn't necessarily imply anything about sampling (although the specification seems to below).
Document that WithPublicEndpoint still uses incoming span contexts for making sampling decisions, and recommend against using ParentBased samplers with public endpoints.
The specification would seem to (implicitly) support 1, since it ties having no parent to being a root span.
The text was updated successfully, but these errors were encountered:
Description
If I specify WithNewRoot, the parent span context is not used when getting the trace ID, or generating the new span id. However, it is still used if you have a ParentBased sampler.
WithPublicEndpoint() would seem to imply that we don't trust incoming span contexts, and my expectation was that we wouldn't want to use them to make sampling decisions.
WithNewRoot(), on the other hand, would seem to only imply that the spans started are root spans. It doesn't necessarily imply anything about sampling (although the specification seems to below).
IMO, we should either:
The specification would seem to (implicitly) support 1, since it ties having no parent to being a root span.
The text was updated successfully, but these errors were encountered: