Skip to content

Commit

Permalink
Update instrument.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken authored Nov 11, 2024
1 parent adf5495 commit 280e836
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions instrument.js
Original file line number Diff line number Diff line change
@@ -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,
});

0 comments on commit 280e836

Please sign in to comment.