Dynatrace provides extensive Node.js monitoring capabilities:
- Heap and process metrics
- Heap dumps
- CPU sampling (see known limitations)
- Event loop metrics
- Insights into inbound and outbound HTTP calls
- Dedicated support for a variety of databases (includes query capture)
- OneAgent SDK for custom tracing
See our supported technologies matrix for details about supported technologies that will be used in conjunction with Node.js.
Support & desupport
Node.js follows an LTS release model.
Each odd-numbered version reaches EOL shortly after each new even-numbered version is released. Each even-numbered version eventually becomes an LTS release. For enterprise production environments, we recommended that you stick to LTS releases.
Whenever a new Node.js major version (even or uneven) is released, we add support for that version.
Dynatrace will follow this support model, but will support each Node.js version at least half a year longer to give our customers time for upgrades.
|Node.js version||Vendor released||Vendor End of life||Supported by Dynatrace until||First supported OneAgent Version||Last supported OneAgent Version|
In conjunction with unsupported third-party modules, context can be lost in asynchronous callbacks. In such cases, please contact a Dynatrace ONE product specialist by clicking the chat button in the upper-right corner of the Dynatrace menu bar.
Using the NPM module esm in variant 1 for packages might result in reduced visibility (especially if used for the main application script). It's preferable to use variant 2 to preload
-rcommand line option.
ECMAScript modules (aka. "ES6 modules") are not supported. Modules relying on this technology won't be visible.
Google V8 is affected by a series of memory and CPU overhead issues, which is a blocker for production-level background CPU profiling. Therefore, CPU profiling will be disabled in the future. For now, if you run into this issue, please disable it in the deep monitoring settings.
Ambient sampling is disabled by default as of OneAgent version 1.157
Linux: Ambient sampling can be enabled for the following Node.js versions:
- Node.js version 6
- Node.js versions ^8.9.4 (8.9.4 <= node.js < 9.0.0)
- Node.js version 9.3.0 or later
Windows: Ambient sampling is disabled by default because it causes 100% CPU usage for one CPU.
OneAgent records a log entry for each unsupported version it detects:
AmbientSampling: <unsupported platform> / <node version>
Ambient sampling is enabled by default as of OneAgent version 1.181 As of OneAgent version 1.181 the above limitations have been resolved. Ambient sampling is fully available on all supported platforms, all supported Node.js versions without restrictions and is enabled by default.
Webpack bundles all modules into a single file by default. OneAgent is unable to instrument bundled modules. To work around this limitation all modules which need to be instrumented by the OneAgent (e.g. express, mongodb, pg,...) have to be externalized in the webpack configuration. See webpack Externals documentation for details.