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, });