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
I would like to propose an addition to the arguments of the shouldSample function of the Sampler interface. In particular, I would like to have also the Instrumentation Scope as an argument.
This will help custom samplers to achieve some specific sampling decisions, for instance my use case is being able to drop all spans generated by a specific instrumentation library.
The text was updated successfully, but these errors were encountered:
I would like to propose an addition to the arguments of the
shouldSample
function of the Sampler interface. In particular, I would like to have also the Instrumentation Scope as an argument.This will help custom samplers to achieve some specific sampling decisions, for instance my use case is being able to drop all spans generated by a specific instrumentation library.
The text was updated successfully, but these errors were encountered: