Skip to content

Allow configuring BreadcrumbBuffer's size limit#1310

Merged
st0012 merged 3 commits intomasterfrom
implement-#1305
Mar 4, 2021
Merged

Allow configuring BreadcrumbBuffer's size limit#1310
st0012 merged 3 commits intomasterfrom
implement-#1305

Conversation

@st0012
Copy link
Copy Markdown
Contributor

@st0012 st0012 commented Mar 4, 2021

Added a new option max_breadcrumbs:

Sentry.init do |config|
  config.max_breadcrumbs = 20
end

The default value is 100. If a new crumb is being added when the buffer is full, the buffer will remove the oldest crumb first.

closes #1305
ref getsentry/sentry-docs#3190

@st0012 st0012 added this to the 4.3.0 milestone Mar 4, 2021
@st0012 st0012 self-assigned this Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Option: Expose breadcrumb limit

1 participant