Skip to content

Commit 8337373

Browse files
authored
docs(sdk): Add long tasks experiment to doc (#5417)
This adds the new 'experiments' option for `BrowserTracing` with the on-by-default `enableLongTasks` flag.
1 parent 519d22b commit 8337373

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/platforms/javascript/common/performance/instrumentation/automatic-instrumentation.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,21 @@ The default is `600`.
9999
This option flags transactions 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.
100100

101101
The default is `true`.
102+
103+
104+
### _experiments
105+
106+
This is an object containing experimental flags for features that may involve breaking changes that haven't yet landed in a new major version.
107+
108+
The default is
109+
```
110+
{
111+
enableLongTasks: true
112+
}
113+
```
114+
115+
#### _experiments.enableLongTasks
116+
117+
This experimental option determines whether spans for long tasks automatically get created.
118+
119+
The default is `true`.

0 commit comments

Comments
 (0)