Remove sentry tracing.
This commit is contained in:
@@ -14,7 +14,7 @@ import { persistor, store } from "./redux/store";
|
|||||||
import reportWebVitals from "./reportWebVitals";
|
import reportWebVitals from "./reportWebVitals";
|
||||||
import "./translations/i18n";
|
import "./translations/i18n";
|
||||||
import "./utils/CleanAxios";
|
import "./utils/CleanAxios";
|
||||||
import { BrowserTracing } from "@sentry/tracing";
|
//import { BrowserTracing } from "@sentry/tracing";
|
||||||
|
|
||||||
// Dinero.defaultCurrency = "CAD";
|
// Dinero.defaultCurrency = "CAD";
|
||||||
// Dinero.globalLocale = "en-CA";
|
// Dinero.globalLocale = "en-CA";
|
||||||
@@ -29,18 +29,18 @@ if (process.env.NODE_ENV !== "development") {
|
|||||||
"Module specifier, 'zlib' does not start with",
|
"Module specifier, 'zlib' does not start with",
|
||||||
],
|
],
|
||||||
integrations: [
|
integrations: [
|
||||||
new BrowserTracing(),
|
// new BrowserTracing(),
|
||||||
// new Sentry.Integrations.Breadcrumbs({ console: true }),
|
// new Sentry.Integrations.Breadcrumbs({ console: true }),
|
||||||
new Sentry.Replay(),
|
// new Sentry.Replay(),
|
||||||
],
|
],
|
||||||
// This sets the sample rate to be 10%. You may want this to be 100% while
|
// This sets the sample rate to be 10%. You may want this to be 100% while
|
||||||
// in development and sample at a lower rate in production
|
// in development and sample at a lower rate in production
|
||||||
replaysSessionSampleRate: 0.1,
|
// replaysSessionSampleRate: 0.1,
|
||||||
// If the entire session is not sampled, use the below sample rate to sample
|
// // If the entire session is not sampled, use the below sample rate to sample
|
||||||
// sessions when an error occurs.
|
// // sessions when an error occurs.
|
||||||
replaysOnErrorSampleRate: 1.0,
|
// replaysOnErrorSampleRate: 1.0,
|
||||||
environment: process.env.NODE_ENV,
|
environment: process.env.NODE_ENV,
|
||||||
tracesSampleRate: 0.2,
|
// tracesSampleRate: 0.2,
|
||||||
// We recommend adjusting this value in production, or using tracesSampler
|
// We recommend adjusting this value in production, or using tracesSampler
|
||||||
// for finer control
|
// for finer control
|
||||||
// tracesSampleRate: 0.5,
|
// tracesSampleRate: 0.5,
|
||||||
@@ -49,7 +49,7 @@ if (process.env.NODE_ENV !== "development") {
|
|||||||
|
|
||||||
ReactDOM.render(
|
ReactDOM.render(
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<BrowserRouter >
|
<BrowserRouter>
|
||||||
<PersistGate
|
<PersistGate
|
||||||
loading={<LoadingSpinner message="Restoring your settings..." />}
|
loading={<LoadingSpinner message="Restoring your settings..." />}
|
||||||
persistor={persistor}
|
persistor={persistor}
|
||||||
|
|||||||
Reference in New Issue
Block a user