You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observe that the error only occurs when bothintegrations: [nodeProfilingIntegration()] and tracesSampleRate: 1 are set. Removing one or the other seems to make the error go away.
Expected Result
Fastify is instrumented properly.
Actual Result
Sentry prints the following to the console:
[Sentry] fastify is not instrumented. This is likely because you required/imported fastify before calling `Sentry.init()`.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.30.0
Framework Version
nodejs 20.17.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
I made a repo here to demo the issue: https://github.com/Xhale1/sentry-repro
Steps to Reproduce
integrations: [nodeProfilingIntegration()]andtracesSampleRate: 1are set. Removing one or the other seems to make the error go away.Expected Result
Fastify is instrumented properly.
Actual Result
Sentry prints the following to the console: