Skip to content

Commit 3489473

Browse files
author
Karl Heinz Struggl
committed
update
1 parent 3d83200 commit 3489473

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/react-native/overhead

1 file changed

+1
-1
lines changed

docs/platforms/react-native/overhead/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If your app raises many errors in a tight loop, it can become too much to proces
3030

3131
<PlatformLink to="/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.
3232

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 <PlatformLink to="/integrations/default/#breadcrumbs">`breadcrumbsIntegration` options</PlatformLink> or <PlatformLink to="/enriching-events/breadcrumbs/#customize-breadcrumbs">`beforeBreadcrumb` hook</PlatformLink> to fine-tune which types of breadcrumbs are created.
3434

3535
Note that increasing the max number of breadcrumbs **does not** improve performance and can even have a detrimental effect.
3636

0 commit comments

Comments
 (0)