Skip to content

Commit d07d019

Browse files
authored
feat: Add BrowserTracing heartbeatInterval option description (#5606)
Add the JS SDK BrowserTracing integration's `heartbeatInterval` option that makes the previously hard-coded heartbeat interval configurable.
1 parent bf6cbb4 commit d07d019

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ The maximum duration of the transaction, measured in ms. If the transaction dura
8686

8787
The default is `30000`.
8888

89+
### heartbeatInterval
90+
91+
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.
92+
93+
The default is `5000`.
94+
8995
### startTransactionOnLocationChange
9096

9197
This flag enables or disables creation of `navigation` transaction on history changes.

0 commit comments

Comments
 (0)