diff --git a/dev-packages/browser-integration-tests/suites/public-api/startSpan/parallel-root-spans-with-parentSpanId/subject.js b/dev-packages/browser-integration-tests/suites/public-api/startSpan/parallel-root-spans-with-parentSpanId/subject.js
index 85a9847e1c3f..8509c200c15d 100644
--- a/dev-packages/browser-integration-tests/suites/public-api/startSpan/parallel-root-spans-with-parentSpanId/subject.js
+++ b/dev-packages/browser-integration-tests/suites/public-api/startSpan/parallel-root-spans-with-parentSpanId/subject.js
@@ -1,6 +1,7 @@
Sentry.getCurrentScope().setPropagationContext({
parentSpanId: '1234567890123456',
traceId: '12345678901234567890123456789012',
+ sampleRand: Math.random(),
});
Sentry.startSpan({ name: 'test_span_1' }, () => undefined);
diff --git a/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-mixed-transaction/test.ts b/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-mixed-transaction/test.ts
index af87e11df37e..0663d16b6995 100644
--- a/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-mixed-transaction/test.ts
+++ b/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-mixed-transaction/test.ts
@@ -47,6 +47,7 @@ sentryTest(
sampled: 'true',
trace_id: traceId,
transaction: 'outer',
+ sample_rand: expect.any(String),
},
});
@@ -64,6 +65,7 @@ sentryTest(
sampled: 'true',
trace_id: traceId,
transaction: 'outer',
+ sample_rand: expect.any(String),
},
});
diff --git a/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone/test.ts b/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone/test.ts
index a37a50f28e04..ef1019d02b1d 100644
--- a/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone/test.ts
+++ b/dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone/test.ts
@@ -33,6 +33,7 @@ sentryTest('sends a segment span envelope', async ({ getLocalTestUrl, page }) =>
sampled: 'true',
trace_id: traceId,
transaction: 'standalone_segment_span',
+ sample_rand: expect.any(String),
},
});
diff --git a/dev-packages/browser-integration-tests/suites/replay/dsc/test.ts b/dev-packages/browser-integration-tests/suites/replay/dsc/test.ts
index 384ee0071f64..a0deed767979 100644
--- a/dev-packages/browser-integration-tests/suites/replay/dsc/test.ts
+++ b/dev-packages/browser-integration-tests/suites/replay/dsc/test.ts
@@ -62,6 +62,7 @@ sentryTest(
public_key: 'public',
replay_id: replay.session?.id,
sampled: 'true',
+ sample_rand: expect.any(String),
});
},
);
@@ -108,6 +109,7 @@ sentryTest(
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
public_key: 'public',
sampled: 'true',
+ sample_rand: expect.any(String),
});
},
);
@@ -161,6 +163,7 @@ sentryTest(
public_key: 'public',
replay_id: replay.session?.id,
sampled: 'true',
+ sample_rand: expect.any(String),
});
},
);
@@ -202,6 +205,7 @@ sentryTest(
trace_id: expect.stringMatching(/[a-f0-9]{32}/),
public_key: 'public',
sampled: 'true',
+ sample_rand: expect.any(String),
});
},
);
@@ -247,6 +251,7 @@ sentryTest('should add replay_id to error DSC while replay is active', async ({
? {
sample_rate: '1',
sampled: 'true',
+ sample_rand: expect.any(String),
}
: {}),
});
@@ -267,6 +272,7 @@ sentryTest('should add replay_id to error DSC while replay is active', async ({
? {
sample_rate: '1',
sampled: 'true',
+ sample_rand: expect.any(String),
}
: {}),
});
diff --git a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/meta/template.html b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/meta/template.html
index 09984cb0c488..7f7b0b159fee 100644
--- a/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/meta/template.html
+++ b/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/meta/template.html
@@ -5,7 +5,7 @@