You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/react-native/overhead/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ If your app raises many errors in a tight loop, it can become too much to proces
30
30
31
31
<PlatformLinkto="/enriching-events/breadcrumbs">Breadcrumbs</PlatformLink> are collected through automated integrations or by manually adding them. To have them readily available for every event generated by the SDK, they are continuously persisted, and managed in a performant buffer. This shouldn't impact user experience.
32
32
33
-
Capturing excessive numbers of breadcrumbs (for example, creating breadcrumbs for all log messages) can cause significant performance overhead. To mitigate this, review and adapt your app's usage of breadcrumbs. For example, increase the min-level of log messages that create breadcrumbs from `warn`to `error`.
33
+
Capturing excessive numbers of breadcrumbs (for example, creating breadcrumbs for all log messages) can cause significant performance overhead. To mitigate this, review and adapt your app's usage of breadcrumbs. For example, use <PlatformLinkto="/integrations/default/#breadcrumbs">`breadcrumbsIntegration` options</PlatformLink> or <PlatformLinkto="/enriching-events/breadcrumbs/#customize-breadcrumbs">`beforeBreadcrumb` hook</PlatformLink> to fine-tune which types of breadcrumbs are created.
34
34
35
35
Note that increasing the max number of breadcrumbs **does not** improve performance and can even have a detrimental effect.
0 commit comments