Node.js Core

Default instrumentations can be disabled via the disableDefaultInstrumentations config option. You can read more about how to configure this in our Configuration Options documentation.

Node.js contains several internal modules designed to enable asynchronous I/O capable APIs for your application. AppSignal provides automatic instrumentation for many of these modules.

http and https instrumentation

AppSignal for Node.js will auto-instrument any incoming and outgoing HTTP(S) requests. Incoming requests will appear as the root span of a trace, while outgoing requests will appear as child spans of an incoming request root span.

For incoming requests to be instrumented in detail, you must use a supported web framework such as Express, Koa.js or NestJS.

Heap statistics minutely probe

By default, Appsignal for Node.js will register a minutely probe that keeps track of the V8 engine's heap statistics. Once we detect these metrics we'll add a magic dashboard to your app.

The metrics reported by this method correspond to those reported by the v8.getHeapStatistics method in the Node.js standard library. For more details on how to interpret these metrics, see the official Node.js documentation on the v8 module. The probe will report the following metrics grouped by hostname tag:

  • nodejs_total_heap_size - gauge
  • nodejs_total_heap_size_executable - gauge
  • nodejs_total_physical_size - gauge
  • nodejs_used_heap_size - gauge
  • nodejs_malloced_memory - gauge
  • nodejs_number_of_native_contexts - gauge
  • nodejs_number_of_detached_contexts - gauge

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