Skip to content

Commit 309bc10

Browse files
KevinL10lizokm
andauthored
feat(js): add enableLongAnimationFrame to javascript docs (#10862)
* feat(js): add enableLongAnimationFrame * typo * Update docs/platforms/javascript/common/tracing/instrumentation/automatic-instrumentation.mdx Co-authored-by: Liza Mock <[email protected]> --------- Co-authored-by: Liza Mock <[email protected]>
1 parent e84df71 commit 309bc10

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/platforms/javascript/common/tracing/instrumentation/automatic-instrumentation.mdx

+9
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ This option determines whether spans for long tasks automatically get created.
131131

132132
The default is `true`.
133133

134+
### enableLongAnimationFrame
135+
<Note>
136+
The `enableLongAnimationFrame` option requires SDK [version 8.18.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.18.0) or higher.
137+
</Note>
138+
139+
This option determines whether spans for long animation frames get created automatically. If both `enableLongAnimationFrame` and `enableLongTask` are enabled, Sentry will send long animation frames and fallback to long tasks (if long animation frames aren't supported by the browser).
140+
141+
The default is `false`.
142+
134143
### enableInp
135144

136145
<Note>

0 commit comments

Comments
 (0)