Skip to content

maxBreadcrumbs limit unclear #4496

Closed
@liamjones

Description

@liamjones

Core or SDK?

Platform/SDK

Which part? Which one?

React Native

Description

There seems to be some inconsistency on documentation of maxBreadcrumbs and what a potential max limit is.

https://docs.sentry.io/platforms/react-native/configuration/options/#max-breadcrumbs states that 100 is the default but says nothing about a maximum.

The sample app seems to think it can be increased to at least 150: https://github.com/getsentry/sentry-react-native/blob/4fd13137fe71984d1166c33198076da9db28f158/sample/src/App.tsx#L39

The documentation popup I get in my IDE says 100 is the upper limit as well as the default:
Screenshot 2021-12-15 at 11 06 15

Suggested Solution

Resolve inconsistency where it's incorrect and document max limit in the config documentation page as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions