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
- Add support for the sampled flag for start_span and respect it when making sampling decisions.
- Rework sampling_context in traces_sampler to work with span attributes instead. Make sure we still have the same data accessible as now.
We could go one step further and change the format of sampling_context to just be the actual span attributes without any postprocessing into the current format. I kept the format in line with what we have now to make it easier to update.
See #3746Closes#3739
This is a breaking change since we're removing custom_sampling_context. It'll break multiple integrations until we fix them (see #3746).
Passing in an explicit
sampled=True/False
parameter should override other sampling decisions.The text was updated successfully, but these errors were encountered: