-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to instrument Nestjs app when the Fastify Adapter is used #13388
Comments
@samuelgoldenbaum thanks for writing in. Could you add |
Logs:
Implementation:
package.json:
|
Hey @samuelgoldenbaum thanks for writing in! We'll look into your issue next week as this week is Hackweek at Sentry (see #13421). |
@samuelgoldenbaum can you try set up the SDK like it is recommended here: https://docs.sentry.io/platforms/javascript/guides/fastify/#configure It might be the case that |
Looks like I manage to make it work like this import * as Sentry from '@sentry/node';
async function bootstrap() {
const fastifyAdapter = new FastifyAdapter();
Sentry.setupFastifyErrorHandler(fastifyAdapter.getInstance());
const app = await NestFactory.create<NestFastifyApplication>(AppModule, fastifyAdapter);
} |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nestjs
SDK Version
8.26.0
Framework Version
@nestjs/platform-fastify ^10.4.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
The following will not instrument...
But using Express will
Steps to Reproduce
Swap to the Fastify adapter:
Expected Result
Should instrument and show data in Performance tab
Actual Result
No instrumentation
The text was updated successfully, but these errors were encountered: