MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getDefaultIntegrations

Function getDefaultIntegrations

packages/browser/src/sdk.ts:28–48  ·  view source on GitHub ↗
(_options: Options)

Source from the content-addressed store, hash-verified

26
27/** Get the default integrations for the browser SDK. */
28export function getDefaultIntegrations(_options: Options): Integration[] {
29 /**
30 * Note: Please make sure this stays in sync with Angular SDK, which re-exports
31 * `getDefaultIntegrations` but with an adjusted set of integrations.
32 */
33 return [
34 // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
35 // eslint-disable-next-line typescript/no-deprecated
36 inboundFiltersIntegration(),
37 functionToStringIntegration(),
38 conversationIdIntegration(),
39 browserApiErrorsIntegration(),
40 breadcrumbsIntegration(),
41 globalHandlersIntegration(),
42 linkedErrorsIntegration(),
43 dedupeIntegration(),
44 httpContextIntegration(),
45 cultureContextIntegration(),
46 browserSessionIntegration(),
47 ];
48}
49
50/**
51 * The Sentry Browser SDK Client.

Callers 3

initFunction · 0.90
initFunction · 0.90
initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected