From 65cb346fa942087ebc729a0997de3b965a019ed6 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Tue, 27 Oct 2020 08:48:29 +1100 Subject: [PATCH] Removed sentry tracing --- package.json | 1 - src/index.js | 6 ------ yarn.lock | 11 ----------- 3 files changed, 18 deletions(-) diff --git a/package.json b/package.json index af7541c..2d89fa5 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "@babylonjs/loaders": "^4.1.0", "@msgpack/msgpack": "^1.12.1", "@sentry/react": "^5.27.1", - "@sentry/tracing": "^5.27.1", "@stripe/stripe-js": "^1.3.2", "@tensorflow/tfjs": "^2.6.0", "@testing-library/jest-dom": "^4.2.4", diff --git a/src/index.js b/src/index.js index 824d26b..c7df34b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,6 @@ import React from "react"; import ReactDOM from "react-dom"; import * as Sentry from "@sentry/react"; -import { Integrations } from "@sentry/tracing"; import App from "./App"; import Modal from "react-modal"; @@ -16,11 +15,6 @@ if (process.env.NODE_ENV === "production") { Sentry.init({ dsn: "https://bc1e2edfe7ca453f8e7357a48693979e@o467475.ingest.sentry.io/5493956", - integrations: [new Integrations.BrowserTracing()], - - // We recommend adjusting this value in production, or using tracesSampler - // for finer control - tracesSampleRate: 1.0, }); } diff --git a/yarn.lock b/yarn.lock index 080ea6f..e72fada 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1588,17 +1588,6 @@ hoist-non-react-statics "^3.3.2" tslib "^1.9.3" -"@sentry/tracing@^5.27.1": - version "5.27.1" - resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-5.27.1.tgz#198cd97514363369d29eef9b597be9332ab170c4" - integrity sha512-GBmdR8Ky/nv4KOa6+DEnOSBkFOFhM+asR8Y/gw2qSUWCwzKuWHh9BEnDwxtSI8CMvgUwOIZ5wiiqJGc1unYfCw== - dependencies: - "@sentry/hub" "5.27.1" - "@sentry/minimal" "5.27.1" - "@sentry/types" "5.27.1" - "@sentry/utils" "5.27.1" - tslib "^1.9.3" - "@sentry/types@5.27.1": version "5.27.1" resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.27.1.tgz#031480a4cf8f0b6e6337fb03ee884deedcef6f40"