Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You will need to configure your web server [CORS](https://developer.mozilla.org/
<SdkOption name="shouldCreateSpanForRequest" type='(url: string) => boolean'>

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

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

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

</SdkOption>

<SdkOption name="markBackgroundSpans" type='boolean' defaultValue='true'>
<SdkOption name="markBackgroundSpan" type='boolean' defaultValue='true'>

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.

Expand Down Expand Up @@ -229,4 +229,4 @@ performance.measure('input-duration', ...);

By default, all performance API spans are captured.

</SdkOption>
</SdkOption>
Loading