Skip to content

Commit

Permalink
feat(webvitals): Adds callout for enableInp about replays and profiles (
Browse files Browse the repository at this point in the history
#9436)

adds profiling and replay info for enableInp
  • Loading branch information
edwardgou-sentry authored Mar 14, 2024
1 parent 46b976d commit d936ba3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,18 @@ The default is `true`.

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

INP is in continuous development at Sentry. We plan to improve the experience and reduce friction in future releases.
</Note>

This option determines whether interactions spans automaticallly get created when an [Interaction to Next Paint (INP)](/product/performance/web-vitals/web-vitals-concepts/#interaction-to-next-paint-inp) event is detected. Interactions are scored and surfaced in the [Web Vitals](/product/performance/web-vitals/) module.

The default is `false`.

<Note>
INP samples currently incur no cost to enable at Sentry. Basic samples contain limited information such as the interaction target, latency, and user. You may wish to enrich your INP samples by setting up [Session Replays](/platforms/javascript/session-replay/) and/or setting up [Browser Profiling](/platforms/javascript/profiling/) instrumentation around your interactive elements to gain further insights into your slowest interactions.

Please note that any Session Replays and Browser Profiles used this way will incur their [standard cost](/product/accounts/pricing/#per-category-pricing) depending on your plan and are subject to the sampling rates configured.
</Note>

<PlatformContent includePath="performance/enable-inp-example" />

0 comments on commit d936ba3

Please sign in to comment.