File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ internal ITransactionTracer StartTransaction(
203203 {
204204 // If sampling out is only a result of the downsampling then we specify the reason as backpressure
205205 // management... otherwise the event would have been sampled out anyway, so it's just regular sampling.
206- discardReason = sampleRand < samplerSampleRate ? DiscardReason . Backpressure : DiscardReason . SampleRate ;
206+ discardReason = sampleRand < samplerSampleRate ? DiscardReason . Backpressure : DiscardReason . SampleRate ;
207207 }
208208
209209 // Ensure the actual sampleRate is set on the provided DSC (if any) when the TracesSampler reached a sampling decision
@@ -222,7 +222,7 @@ internal ITransactionTracer StartTransaction(
222222 {
223223 // If sampling out is only a result of the downsampling then we specify the reason as backpressure
224224 // management... otherwise the event would have been sampled out anyway, so it's just regular sampling.
225- discardReason = sampleRand < optionsSampleRate ? DiscardReason . Backpressure : DiscardReason . SampleRate ;
225+ discardReason = sampleRand < optionsSampleRate ? DiscardReason . Backpressure : DiscardReason . SampleRate ;
226226 }
227227
228228 if ( context . IsSampled is null && _options . TracesSampleRate is not null )
You can’t perform that action at this time.
0 commit comments