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
Include the activity source into the SamplingParameters,
Is your feature request related to a problem?
We want to implement a TraceIdRatioBasedSampler based sampler, we want to use a different ratio for different activity sources, currently, the SamplingParameters does not have an ActivitySource, while there's ActivitySource in the ActivityCreationOptions which be used to determine the ActivitySamplingResult
Feature Request
Include the activity source into the
SamplingParameters
,Is your feature request related to a problem?
We want to implement a
TraceIdRatioBasedSampler
based sampler, we want to use a different ratio for different activity sources, currently, theSamplingParameters
does not have anActivitySource
, while there'sActivitySource
in theActivityCreationOptions
which be used to determine theActivitySamplingResult
https://github.com/dotnet/runtime/blob/v6.0.0/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/ActivityCreationOptions.cs
https://github.com/dotnet/runtime/blob/v6.0.0/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/ActivitySamplingResult.cs
Describe the solution you'd like:
Maybe we could add the
ActivitySource
to theSamplingParameters
, so that we could use different sampler for different activity sourceThe text was updated successfully, but these errors were encountered: