Skip to content

Tracing and httpclient #5345

Discussion options

You must be logged in to vote

In case of parent-based sampler the sampling decision is based on the sampling decision of parent span. In your case, ProjectB was sending the traceparent ending with -00 i.e. it did not sample in the trace. Following that, ProjectA was following the parent's decision and was not sampling the span.

With AlwaysOn sampler, it does not take the parent's sampling decision in to account and always samples in the activity.

Now, with the case when the traceparent is not received by ProjectA(when tried with curl) and it is using ParentBasedSampler. This is a special case where the sampler follows AlwaysOn sampling behavior. You can read more about it in spec here https://github.com/open-telemetry…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@noelmcgrath
Comment options

@vishweshbankwar
Comment options

@noelmcgrath
Comment options

@vishweshbankwar
Comment options

Answer selected by cijothomas
@noelmcgrath
Comment options

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