Skip to content

Commit

Permalink
feat(js): add enableLongAnimationFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinL10 committed Jul 25, 2024
1 parent 7f971f7 commit 53e7f69
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 `enableInp` 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 automatically get created. If both `enableLongAnimationFrame` and `enableLongTask` are enabled, Sentry will send long animation frames and fallback to long tasks if long animation frames are not supported by the browser.

The default is `false`.

### enableInp

<Note>
Expand Down

0 comments on commit 53e7f69

Please sign in to comment.