V2 fix roll (#323)

* chore: profile node

* fix: always roll
This commit is contained in:
Carlos Valente
2023-04-04 10:22:28 +02:00
committed by GitHub
parent 390d466673
commit e56460a940
7 changed files with 581 additions and 216 deletions
+3
View File
@@ -1,4 +1,5 @@
import * as Sentry from '@sentry/node';
import { ProfilingIntegration } from '@sentry/profiling-node';
let shouldReport;
@@ -7,6 +8,8 @@ export function initSentry(doReport) {
Sentry.init({
dsn: 'https://ceb6abdce7374857bb50b65636cbaed1@o4504288369836032.ingest.sentry.io/4504288555565056',
tracesSampleRate: 1.0,
profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate
integrations: [new ProfilingIntegration()],
});
}