From 4147fcb4be58c510937a9f6ca00dfd86f8437ff9 Mon Sep 17 00:00:00 2001 From: AlexEbenrode <38831366+AlexEbenrode@users.noreply.github.com> Date: Sat, 12 Oct 2024 08:22:40 +0500 Subject: [PATCH] Disable replay integration (#333) * remove deprecated sentry tracing package * disable sentry replay integration --- package.json | 1 - pnpm-lock.yaml | 44 -------------------------------------------- src/main.ts | 5 +---- 3 files changed, 1 insertion(+), 49 deletions(-) diff --git a/package.json b/package.json index 86d10d0a..46ac7d9a 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "dependencies": { "@brachkow/email-providers": "^1.2.0", "@formkit/auto-animate": "^0.8.1", - "@sentry/tracing": "^7.114.0", "@sentry/vue": "^8.34.0", "@tiptap/extension-bubble-menu": "^2.1.12", "@tiptap/extension-image": "^2.1.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa969ec3..62ebd0f9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,9 +14,6 @@ importers: '@formkit/auto-animate': specifier: ^0.8.1 version: 0.8.1 - '@sentry/tracing': - specifier: ^7.114.0 - version: 7.114.0 '@sentry/vue': specifier: ^8.34.0 version: 8.34.0(vue@3.3.8(typescript@5.2.2)) @@ -2059,38 +2056,18 @@ packages: resolution: {integrity: sha512-EoMh9NYljNewZK1quY23YILgtNdGgrkzJ9TPsj6jXUG0LZ0Q7N7eFWd0xOEDBvFxrmI3cSXF1i4d1sBb+eyKRw==} engines: {node: '>=14.18'} - '@sentry-internal/tracing@7.114.0': - resolution: {integrity: sha512-dOuvfJN7G+3YqLlUY4HIjyWHaRP8vbOgF+OsE5w2l7ZEn1rMAaUbPntAR8AF9GBA6j2zWNoSo8e7GjbJxVofSg==} - engines: {node: '>=8'} - '@sentry/browser@8.34.0': resolution: {integrity: sha512-3HHG2NXxzHq1lVmDy2uRjYjGNf9NsJsTPlOC70vbQdOb+S49EdH/XMPy+J3ruIoyv6Cu0LwvA6bMOM6rHZOgNQ==} engines: {node: '>=14.18'} - '@sentry/core@7.114.0': - resolution: {integrity: sha512-YnanVlmulkjgZiVZ9BfY9k6I082n+C+LbZo52MTvx3FY6RE5iyiPMpaOh67oXEZRWcYQEGm+bKruRxLVP6RlbA==} - engines: {node: '>=8'} - '@sentry/core@8.34.0': resolution: {integrity: sha512-adrXCTK/zsg5pJ67lgtZqdqHvyx6etMjQW3P82NgWdj83c8fb+zH+K79Z47pD4zQjX0ou2Ws5nwwi4wJbz4bfA==} engines: {node: '>=14.18'} - '@sentry/tracing@7.114.0': - resolution: {integrity: sha512-eldEYGADReZ4jWdN5u35yxLUSTOvjsiZAYd4KBEpf+Ii65n7g/kYOKAjNl7tHbrEG1EsMW4nDPWStUMk1w+tfg==} - engines: {node: '>=8'} - - '@sentry/types@7.114.0': - resolution: {integrity: sha512-tsqkkyL3eJtptmPtT0m9W/bPLkU7ILY7nvwpi1hahA5jrM7ppoU0IMaQWAgTD+U3rzFH40IdXNBFb8Gnqcva4w==} - engines: {node: '>=8'} - '@sentry/types@8.34.0': resolution: {integrity: sha512-zLRc60CzohGCo6zNsNeQ9JF3SiEeRE4aDCP9fDDdIVCOKovS+mn1rtSip0qd0Vp2fidOu0+2yY0ALCz1A3PJSQ==} engines: {node: '>=14.18'} - '@sentry/utils@7.114.0': - resolution: {integrity: sha512-319N90McVpupQ6vws4+tfCy/03AdtsU0MurIE4+W5cubHME08HtiEWlfacvAxX+yuKFhvdsO4K4BB/dj54ideg==} - engines: {node: '>=8'} - '@sentry/utils@8.34.0': resolution: {integrity: sha512-W1KoRlFUjprlh3t86DZPFxLfM6mzjRzshVfMY7vRlJFymBelJsnJ3A1lPeBZM9nCraOSiw6GtOWu6k5BAkiGIg==} engines: {node: '>=14.18'} @@ -8851,12 +8828,6 @@ snapshots: '@sentry/types': 8.34.0 '@sentry/utils': 8.34.0 - '@sentry-internal/tracing@7.114.0': - dependencies: - '@sentry/core': 7.114.0 - '@sentry/types': 7.114.0 - '@sentry/utils': 7.114.0 - '@sentry/browser@8.34.0': dependencies: '@sentry-internal/browser-utils': 8.34.0 @@ -8867,28 +8838,13 @@ snapshots: '@sentry/types': 8.34.0 '@sentry/utils': 8.34.0 - '@sentry/core@7.114.0': - dependencies: - '@sentry/types': 7.114.0 - '@sentry/utils': 7.114.0 - '@sentry/core@8.34.0': dependencies: '@sentry/types': 8.34.0 '@sentry/utils': 8.34.0 - '@sentry/tracing@7.114.0': - dependencies: - '@sentry-internal/tracing': 7.114.0 - - '@sentry/types@7.114.0': {} - '@sentry/types@8.34.0': {} - '@sentry/utils@7.114.0': - dependencies: - '@sentry/types': 7.114.0 - '@sentry/utils@8.34.0': dependencies: '@sentry/types': 8.34.0 diff --git a/src/main.ts b/src/main.ts index ae36fbe4..bfec9b84 100644 --- a/src/main.ts +++ b/src/main.ts @@ -21,10 +21,7 @@ if (process.env.NODE_ENV === 'production') { Sentry.init({ app, dsn: 'https://4bd3741410104a88a731d82ee59341b0@o47144.ingest.sentry.io/4504038554664960', - integrations: [ - Sentry.browserTracingIntegration({ router }), - Sentry.replayIntegration(), - ], + integrations: [Sentry.browserTracingIntegration({ router })], tracesSampleRate: 1.0, tracePropagationTargets: [ 'localhost',