Skip to content

Commit 912a054

Browse files
committed
feat: Add BrowserTracing heartbeatInterval option description
1 parent 28a1b91 commit 912a054

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ The idle time, measured in ms, to wait until the transaction will be finished. T
7676

7777
The default is `1000`.
7878

79+
### heartbeatInterval
80+
81+
The time, measured in ms, one heartbeat takes. If no new spans were started or no open spans finished within **three heartbeats**, the transaction will be finished. The heartbeat count restarts whenever a new span is created or an open span is finished.
82+
83+
The default is `5000`.
84+
7985
### startTransactionOnLocationChange
8086

8187
This flag enables or disables creation of `navigation` transaction on history changes.
@@ -100,19 +106,19 @@ This option flags transactions when tabs are moved to the background with "cance
100106

101107
The default is `true`.
102108

109+
### \_experiments
103110

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.
111+
This is an object containing experimental flags for features that may involve breaking changes that haven't yet landed in a new major version.
107112

108113
The default is
114+
109115
```
110116
{
111117
enableLongTasks: true
112118
}
113119
```
114120

115-
#### _experiments.enableLongTasks
121+
#### \_experiments.enableLongTasks
116122

117123
This experimental option determines whether spans for long tasks automatically get created.
118124

0 commit comments

Comments
 (0)