You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/platforms/javascript/common/performance/instrumentation/automatic-instrumentation.mdx
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -72,10 +72,16 @@ This function can be used to filter out unwanted spans such as XHR's running hea
72
72
73
73
### idleTimeout
74
74
75
-
The idle time, measured in ms, to wait until the transaction will be finished. The transaction will use the end timestamp of the last finished span as the endtime for the transaction.
75
+
The idle time, measured in ms, to wait until the transaction will be finished, if there are no unfinished spans. The transaction will use the end timestamp of the last finished span as the endtime for the transaction.
76
76
77
77
The default is `1000`.
78
78
79
+
### finalTimeout
80
+
81
+
The maximum duration of the transaction, measured in ms. If the transaction duration hits the `finalTimeout` value, it will be finished.
82
+
83
+
The default is `30000`.
84
+
79
85
### startTransactionOnLocationChange
80
86
81
87
This flag enables or disables creation of `navigation` transaction on history changes.
@@ -88,31 +94,25 @@ This flag enables or disables creation of `pageload` transaction on first pagelo
88
94
89
95
The default is `true`.
90
96
91
-
### maxTransactionDuration
92
-
93
-
The maximum duration of a transaction, measured in seconds, before it will be marked as "deadline_exceeded". If you never want transactions marked that way, set `maxTransactionDuration` to 0.
94
-
95
-
The default is `600`.
96
-
97
97
### markBackgroundTransactions
98
98
99
99
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.
100
100
101
101
The default is `true`.
102
102
103
+
### \_experiments
103
104
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.
105
+
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
106
108
107
The default is
108
+
109
109
```
110
110
{
111
111
enableLongTasks: true
112
112
}
113
113
```
114
114
115
-
#### _experiments.enableLongTasks
115
+
#### \_experiments.enableLongTasks
116
116
117
117
This experimental option determines whether spans for long tasks automatically get created.
0 commit comments