Dedupe
去重某些事件以避免接收重复的错误。(默认启用)
Import name: Sentry.dedupeIntegration
此集成默认启用。如果您想修改默认集成,请阅读此文档。
此集成会去重某些事件。如果您收到许多重复错误,这将非常有帮助。请注意,Sentry 仅比较堆栈跟踪和指纹。
Copied
import * as Sentry from "@sentry/browser";
Sentry.init({
dsn: "https://examplePublicKey@o0.ingest.sentry.io/0",
integrations: [Sentry.dedupeIntegration()],
});