Skip to content

Commit 4a82d78

Browse files
mydeas1gr1d
andauthored
Update dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/startNewTraceSampling/subject.js
Co-authored-by: Sigrid Huemer <[email protected]>
1 parent b97d700 commit 4a82d78

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/startNewTraceSampling

1 file changed

+1
-1
lines changed

dev-packages/browser-integration-tests/suites/tracing/trace-lifetime/startNewTraceSampling/subject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const newTraceBtn = document.getElementById('newTrace');
22
newTraceBtn.addEventListener('click', async () => {
33
Sentry.startNewTrace(() => {
4-
// We want top ensure the new trace is sampled, so we force the sample_rand to a value above 0.9
4+
// We want to ensure the new trace is sampled, so we force the sample_rand to a value above 0.9
55
Sentry.getCurrentScope().setPropagationContext({
66
...Sentry.getCurrentScope().getPropagationContext(),
77
sampleRand: 0.85,

0 commit comments

Comments
 (0)