Dedupe JS events to prevent 1000s repeated hitting Sentry

pull/6/head
Qstick 5 years ago committed by ta264
parent cdc6adddc0
commit 7e244611f0

@ -89,7 +89,10 @@ export default function createSentryMiddleware() {
release, release,
sendDefaultPii: true, sendDefaultPii: true,
beforeSend: cleanseData, beforeSend: cleanseData,
integrations: [new Integrations.RewriteFrames({ iteratee: stripUrlBase })] integrations: [
new Integrations.RewriteFrames({ iteratee: stripUrlBase }),
new Integrations.Dedupe()
]
}); });
sentry.configureScope((scope) => { sentry.configureScope((scope) => {

Loading…
Cancel
Save