Skip to content

Commit 7efb1ec

Browse files
committed
Correct markBackgroundSpan option in JS browser tracing
1 parent f1e06ae commit 7efb1ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/platforms/javascript/common/tracing/instrumentation/automatic-instrumentation.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ You will need to configure your web server [CORS](https://developer.mozilla.org/
8686
<SdkOption name="shouldCreateSpanForRequest" type='(url: string) => boolean'>
8787

8888
This function can be used to filter out unwanted spans such as XHRs running
89-
health checks or something similar.
89+
health checks or something similar.
9090

9191
<PlatformContent includePath="performance/filter-span-example" />
9292

@@ -138,7 +138,7 @@ This option determines whether the <PlatformLink to="/apis/#reportPageLoaded">`S
138138

139139
</SdkOption>
140140

141-
<SdkOption name="markBackgroundSpans" type='boolean' defaultValue='true'>
141+
<SdkOption name="markBackgroundSpan" type='boolean' defaultValue='true'>
142142

143143
This option flags pageload/navigation spans when tabs are moved to the background with "cancelled". Because browser background tab timing is not suited for precise measurements of operations and can affect your statistics in nondeterministic ways, we recommend that this option be enabled.
144144

@@ -229,4 +229,4 @@ performance.measure('input-duration', ...);
229229

230230
By default, all performance API spans are captured.
231231

232-
</SdkOption>
232+
</SdkOption>

0 commit comments

Comments
 (0)