-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent duplicate issues from same user #530
Comments
There is a Sampling Data section in the docs. According to it, we can use something like: shouldSendCallback: function(data) {
// only send 10% of errors
var sampleRate = 10;
return (Math.random() * 100 <= sampleRate);
} However, that's not much useful, as we already get a sample of the errors when going beyond the quota. On my side, I'm allocating a slot quota per minute / hour: |
Thanks @oliviertassinari that seems good for filtering React useless and repetitive errors, will use something similar! |
@MaxBittker The functionality in the linked PR is not included in the new I do not find |
@ms88privat https://docs.sentry.io/platforms/javascript/#dedupe import * as Sentry from '@sentry/browser';
import * as Integrations from '@sentry/integrations';
Sentry.init({
dsn: 'yourdsn',
integrations: [new Integrations.Dedupe()],
}); |
Is #530 (comment) still worth implementing with |
@YutaMoriJP it's built-in into the SDK - https://docs.sentry.io/platforms/javascript/configuration/options/#sample-rate |
We want to ensure that a single user can not flood the Sentry server with the same issue (or many issues) over and over.
It probably makes sense to add two things:
The text was updated successfully, but these errors were encountered: