Disable node profiling as the native module was not bundled correctly

This commit is contained in:
Jade Ellis
2024-09-10 02:06:27 +01:00
parent 62acbe3a3e
commit 039186b9e0
3 changed files with 3 additions and 438 deletions
-1
View File
@@ -75,7 +75,6 @@
"@lezer/highlight": "^1.2.1",
"@octokit/types": "^13.5.0",
"@resvg/resvg-js": "^2.6.2",
"@sentry/profiling-node": "^8.29.0",
"@sentry/sveltekit": "^8.26.0",
"@steeze-ui/svelte-icon": "^1.5.0",
"@tabler/icons-svelte": "^3.12.0",
+3 -4
View File
@@ -3,16 +3,15 @@ import { init as initSentry, handleErrorWithSentry, sentryHandle } from '@sentry
import type { Handle } from "@sveltejs/kit";
import { randomBytes } from 'crypto';
import { SENTRY_DSN, SENTRY_REPORT_URL } from '$lib/config';
import { nodeProfilingIntegration } from "@sentry/profiling-node";
// import { nodeProfilingIntegration } from "@sentry/profiling-node";
initSentry({
dsn: SENTRY_DSN,
environment: import.meta.env.MODE,
tracesSampleRate: 1.0,
profilesSampleRate: 1.0,
// profilesSampleRate: 1.0,
integrations: [
// Add our Profiling integration
nodeProfilingIntegration(),
],
})