Skip to content

Commit

Permalink
send a couple txn profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Sep 17, 2024
1 parent 825d60c commit b7727c8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build-utils/sentry-instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ class SentryInstrumentation {
constructor() {
// Only run if SENTRY_INSTRUMENTATION` is set or when in ci,
// only in the javascript suite that runs webpack
if (!SENTRY_INSTRUMENTATION && !SENTRY_DEV_UI_PROFILING) {
return;
}

const sentry = require('@sentry/node') as typeof Sentry;
const {nodeProfilingIntegration} = require('@sentry/profiling-node');

Expand All @@ -56,10 +52,6 @@ class SentryInstrumentation {
}
return 1;
},
_experiments: {
// 5 minutes should be plenty
maxProfileDurationMs: 5 * 60 * 1000,
},
});

if (IS_CI) {
Expand Down

0 comments on commit b7727c8

Please sign in to comment.