I'm attempting to enable profiling in an Astro project. The SDK is correctly configured to send errors. The integration is configured with
sentry({
dsn: "...",
environment: 'production',
tracesSampleRate: 1,
replaysSessionSampleRate: 1,
replaysOnErrorSampleRate: 1,
sourceMapsUploadOptions: {
project: "...",
authToken: process.env.SENTRY_AUTH_TOKEN,
},
enabled: true,
}),
The sentry.server.config.js file looks like
Sentry.init({
dsn: '...',
environment: "production",
integrations: [nodeProfilingIntegration()],
tracesSampleRate: 1,
profilesSampleRate: 1,
profileSessionSampleRate: 1,
profileLifecycle: "trace",
enabled: true,
})
The file is at least being loaded, but nothing shows in profiling in the dashboard.
Running Node 22.14, latest version of the Astro SDK & profiling package, on MacOS.
I only found one discussion https://github.com/getsentry/sentry-javascript/discussions/13514 about setting this up with no response