Remove @sentry/tracing

This commit is contained in:
Alex Gleason
2023-10-21 17:51:23 -05:00
parent cbc14604c9
commit d4a03f14d7
3 changed files with 2 additions and 13 deletions

View File

@ -7,16 +7,13 @@ import type { SetOptional } from 'type-fest';
/** Start Sentry. */
async function startSentry(dsn: string): Promise<void> {
const [Sentry, { Integrations: Integrations }] = await Promise.all([
import('@sentry/react'),
import('@sentry/tracing'),
]);
const Sentry = await import('@sentry/react');
Sentry.init({
dsn,
debug: false,
enabled: NODE_ENV === 'production',
integrations: [new Integrations.BrowserTracing()],
integrations: [new Sentry.BrowserTracing()],
// Filter events.
// https://docs.sentry.io/platforms/javascript/configuration/filtering/