From 280e836ccddd937b30614ebd7103167f5572e25d Mon Sep 17 00:00:00 2001 From: Mahad Kalam <55807755+SkyfallWasTaken@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:27:44 +0000 Subject: [PATCH] Update instrument.js --- instrument.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/instrument.js b/instrument.js index 3eaa971..64281cc 100644 --- a/instrument.js +++ b/instrument.js @@ -1,11 +1,5 @@ -const Sentry = require("@sentry/node"); -const { nodeProfilingIntegration } = require("@sentry/profiling-node"); - +import * as Sentry from "@sentry/bun"; Sentry.init({ - dsn: process.env.SENTRY_DSN, - integrations: [ - nodeProfilingIntegration(), - ], - tracesSampleRate: 1.0, - profilesSampleRate: 1.0, + dsn: process.env.SENTRY_DSN, + tracesSampleRate: 1.0, });