Skip to content

Javascript SDK docs list Dedupe as a default integration, but it doesn't seem to be #14491

@alxndrsn

Description

@alxndrsn

SDK

JavaScript SDK

Description

I think the docs at https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/dedupe/ refer to NodeJS - see screenshot:

Image

The docs read:

This integration is enabled by default.

However, it doesn't seem to be:

$ node -e 'console.log(`\n@sentry/node version: ${require("./node_modules/@sentry/node/package").version}\n`);require("@sentry/node").init()._options.integrations.map(it => it.name).sort().forEach(it => console.log(`* ${it}`))'

@sentry/node version: 9.43.0

* ChildProcess
* Console
* Context
* ContextLines
* FunctionToString
* Http
* InboundFilters
* LinkedErrors
* LocalVariablesAsync
* Modules
* NodeFetch
* OnUncaughtException
* OnUnhandledRejection
* ProcessSession
* RequestData

And in the source:

https://github.com/getsentry/sentry-javascript/blob/develop/packages/node-core/src/sdk/index.ts#L43-L70

Suggested Solution

Either:

  1. change the docs to say that this integration is not enabled by default, or
  2. enable this integration by default

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions