File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/opentelemetry/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ export class SentrySampler implements Sampler {
104104 decision : SamplingDecision . NOT_RECORD ,
105105 context,
106106 spanAttributes,
107- ignoredSpan : true ,
107+ ignoredChildSpan : true ,
108108 } ) ;
109109 }
110110 }
@@ -265,7 +265,7 @@ export function wrapSamplingDecision({
265265 spanAttributes,
266266 sampleRand,
267267 downstreamTraceSampleRate,
268- ignoredSpan ,
268+ ignoredChildSpan ,
269269 ignoredSegmentSpan,
270270} : {
271271 decision : SamplingDecision | undefined ;
@@ -274,7 +274,7 @@ export function wrapSamplingDecision({
274274 sampleRand ?: number ;
275275 downstreamTraceSampleRate ?: number ;
276276 // flags for ignored streamed spans (only set for span streaming)
277- ignoredSpan ?: boolean ;
277+ ignoredChildSpan ?: boolean ;
278278 ignoredSegmentSpan ?: boolean ;
279279} ) : SamplingResult {
280280 let traceState = getBaseTraceState ( context , spanAttributes ) ;
@@ -291,7 +291,7 @@ export function wrapSamplingDecision({
291291 traceState = traceState . set ( SENTRY_TRACE_STATE_SAMPLE_RAND , `${ sampleRand } ` ) ;
292292 }
293293
294- if ( ignoredSpan ) {
294+ if ( ignoredChildSpan ) {
295295 traceState = traceState . set ( SENTRY_TRACE_STATE_CHILD_IGNORED , '1' ) ;
296296 }
297297
You can’t perform that action at this time.
0 commit comments