Corrected check for build flags to base on gyp version, not Node version.
Previously, when checking if the old
\t: syntax should be used, this looked
situations where users install their own versions of node-gyp.
Special thanks to Eric Boureau (@eboureau) for contributing this fix.
Fixed building the module on Windows with Node v10.8.0 or greater.
Special thanks to Elmar Burke (@elmarburke) for this contribution!
Added support for caching prebuilt binaries for firewalled deployments.
Simply set the
NR_NATIVE_METRICS_DOWNLOAD_HOST environment variable to the
protocol and host for the download (e.g.
NR_NATIVE_METRICS_REMOTE_PATH to the path to the download folder (e.g.
Special thanks to Adam Brett (@adambrett) for contributing this feature.
Added support and pre-built binaries for Node 10.
BREAKING Removed support for Node 0.12.
The minimum supported version of the native metrics module is now Node v4.
gc event in favor of
gc event will no longer be emitted for each garbage collection by V8.
Instead, metrics for garbage collections are aggregated in C++ and can be
retrieved by calling
getLoopMetrics(), this new
method will reset the aggregated metrics.
Added pre-built binaries for Node 5 and 7.
These are just environment variable versions of the
--no-download flags introduced in v2.3.0.
--no-download flags for install script.
These flags prevent the installer for the native metrics from either building
or downloading binaries. If both are specified,
--no-download is ignored.
The package will now pull down pre-built binaries if compilation fails.
After confirming that the binary downloading functionality works, the feature has been enabled by default. The installation script will still default to a fresh build where possible, using the download option as a fall back.
The process will no longer be held open due to pending timers.
Previously, the timer used to calculate the CPU usage by a tick of the event loop was left pending, causing the process to hang.
Thanks to @samshull for the contribution!
Fixed build error on Windows thanks to Maximilian Haupt (@0x7f).
Added C++-layer unit testing using gtest.
Updated readme with correct installation for the New Relic Agent v1.
Added an event loop CPU usage metric.
The module will now report round trip CPU usage metrics for Node's event loop. This
metric can be read off with
nativeMetrics.getLoopMetrics() and will
represent the amount of CPU time per tick of the event loop.
Removed pre-compiling binaries using the
Previously we provided pre-compiled binaries for certain platforms and versions of Node. However, this caused issues for customers using shrinkwrapping. In order to support shrinkwrapping as well as all versions of Node and npm that our customers use, we have decided to remove this feature. This means that in order to use this module, users now need to have a compiler on the machine where it is being installed. See [node-gyp] (https://www.npmjs.com/package/node-gyp#installation) for more information on compiling native addons.
Removed support for Node 0.10.
segfault-handler dependency no longer compiles on Node 0.10 in our tests.
node-pre-gyp module is now a bundled dependency.
Previously it was installed using a preinstall script, which was causing an issue with shrinkwrapping parent projects. Thanks to Robert Rossman (@Alaneor) for the contribution!
Added License section to the Readme file.
Added guard against binding GC events more than once.
Removed OS X from Travis to temporarily get around extremely long builds. Added script to run tests locally across multiple versions of Node.
Added test for checking licenses of dependencies.
gcevent with duration and type of garbage collection.
usageevent with current and diff of resource usage stats.