Upgrading from AppSignal for Node.js 2.x? Read about integration changes between 2.x and 3.x in the Migration Guide.

The AppSignal for Node.js integration for NestJS v4.0.0+.


NestJS is instrumented automatically by the AppSignal for Node.js package.

To load the AppSignal client initialization, you need to require the appsignal.cjs file before initializing your app. For a NestJS application, this can be done after building the application and then running it with the following command:

node --require ./dist/appsignal.js dist/main


The NestJS integration will send AppSignal a child span representing the execution time of each middleware, as well as a child span for the request handler.

The name of the controller class and method that handled the request will be used as the name of the action.

Any errors raised by your NestJS application will be reported to AppSignal.

Need more help?

Contact us and speak directly with the engineers working on AppSignal. They will help you get set up, tweak your code and make sure you get the most out of using AppSignal.

Contact us

Start a trial - 30 days free

AppSignal is a great way to monitor your Ruby, Elixir & Node.js applications. Works great with Rails, Phoenix, Express and other frameworks, with support for background jobs too. Let's improve your apps together.

Start a trial