Skip to content

Commit

Permalink
feat(js): add enableLongAnimationFrame to javascript docs (#10862)
Browse files Browse the repository at this point in the history
* feat(js): add enableLongAnimationFrame

* typo

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

Co-authored-by: Liza Mock <liza.mock@sentry.io>

---------

Co-authored-by: Liza Mock <liza.mock@sentry.io>
  • Loading branch information
KevinL10 and lizokm committed Jul 26, 2024
1 parent e84df71 commit 309bc10
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,15 @@ This option determines whether spans for long tasks automatically get created.

The default is `true`.

### enableLongAnimationFrame
<Note>
The `enableLongAnimationFrame` option requires SDK [version 8.18.0](https://github.com/getsentry/sentry-javascript/releases/tag/8.18.0) or higher.
</Note>

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).

The default is `false`.

### enableInp

<Note>
Expand Down

0 comments on commit 309bc10

Please sign in to comment.