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
In case of legacy activities (i.e. new Activity()), we run the sampler after the activity is started. When the sampler runs it updates the ActivityTraceFlags property based on the sampling result. However, updating the trace flags on activity does not get reflected on Id if the Id was accessed before sampler runs. This results is incorrect propagation when the propagator uses Id property to set the traceparent header.
The text was updated successfully, but these errors were encountered:
vishweshbankwar
changed the title
Improve unit and functional tests for propagators in case of legacy Activities
Improve unit and functional tests for propagation in case of legacy Activities
Nov 29, 2021
Related to #2659.
In case of legacy activities (i.e. new Activity()), we run the sampler after the activity is started. When the sampler runs it updates the ActivityTraceFlags property based on the sampling result. However, updating the trace flags on activity does not get reflected on Id if the Id was accessed before sampler runs. This results is incorrect propagation when the propagator uses Id property to set the traceparent header.
The text was updated successfully, but these errors were encountered: