Closed as not planned
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.75.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
environment: env,
dsn: "...",
integrations: [
new Sentry.BrowserTracing({
tracePropagationTargets: [...],
}),
new Sentry.Replay(),
],
tracesSampleRate: 1.0,
replaysSessionSampleRate: 0.001,
replaysOnErrorSampleRate: 1.0,
allowUrls: [...],
ignoreErrors: [....],
});
Steps to Reproduce
The SDK is reaching the replay buffer limit (source code) when recording session replays. I was not able to reproduce it on my own account.
This is raising an event sent by the SDK to the project configured in the SDK initialisation:
Error
Event buffer exceeded maximum size of 20000000.
The current workaround for affected users is to filter these events with ignoreErrors:
Sentry.init({
dsn: "...",
ignoreErrors: ["Event buffer exceeded maximum size"],
...
});
Originally reported here
Expected Result
The SDK should gracefully drop the event exceeding buffer and not raise an exception captured by the unhandled rejection handler.
Actual Result
An event is sent to the Sentry project as in the screenshot (not adding link due to privacy):
Metadata
Metadata
Assignees
Type
Projects
Status
No status
Status
Waiting for: Community