This release has been unpublished from npmjs.org. Please use version 1.35.1 or higher.
The agent will now report garbage collection statistics on supported platforms.
On node versions 0.10, 0.12, 4, 6, and 7 the agent will now record the time spent in, the number of, and type of garbage collection cycles. You can read more about it on our docs site!
The agent no longer double counts MySQL query times when using a connection pool.
Previously, when using a pool of connections a query done through the pool would be recorded as the time it took on the pool, as well as the connection, effectively counting the time twice. This is no longer the case.
The agent will no longer lose transaction state across Bluebird's
Thanks to Matt Lavin (@mdlavin) for this contribution!
The agent now collects CPU metrics when running under Node 6.1.0 and higher.
Node 6.1.0 introduced an API to get CPU time usage of the running Node process. We are now collecting this data as new metrics.
The agent now has a separate configuration for audit logging.
Previously the data that the agent sends to the collector was logged only in trace logging mode, making the logs unnecessarily large and noisy. The agent can now include this data independent of the logging level using separate configuration settings.
A new API method addCustomParameters() has been added to allow adding multiple custom parameters at once. Thanks to Austin Peterson (@AKPWebDesign) for this contribution!
Updated tests to run on Node 7.
Node 7 is officially supported as of the previous release, v1.33.0.
The shutdown() API now waits for connection to collect pending data.
When a flag to collect pending data is provided to the shutdown() method, the agent now ensures a connection to the collector has been established. This is useful when the Node process is short-lived, such as in AWS Lambda.
Added running the nsp (Node Security Platform) tool to the test suite to help with detecting security-related vulnerabilities.
- The setIgnoreTransaction() API now works for background transactions.
- Fixed issue with synthetic result not displaying a link to the corresponding transaction trace.
The agent now collects database instance information for Memcached operations.
This information (database server and database name) is displayed in transaction traces and slow query traces.
socket.io long-polling requests are now ignored by default.
Collecting metrics for these requests is typically not desirable since they are frequent and do not represent business transactions. Previously we recommended adding an ignore rule manually. Now it is included by default.
Improved test coverage for Postgres and MongoDB instrumentations.
- The agent now collects database instance information for MySQL and MongoDB operations. This information (database server and database name) is displayed in transaction traces and slow query traces.
- Datastore instance configuration can now be done through environment variables. These can be set through
- The agent will no longer crash the process when an express param handler is executed when a transaction is not active.
Fixed format of external calls metric.
External service URLs will now be formatted the same as they are in the originating application.
Improved instrumentation of native promises.
Native promises now use the same instrumentation as Bluebird, making instrumentation easier to maintain and more consistent across libraries.
Fixed issue with reloading normalization rules from the server.
Upon reset, the agent will clear the existing naming rules, removing any vestigial rules that may have changed or been disabled.
Fixed issue with key transactions Apdex metric.
Key transactions now effect the global Apdex metric according to their own ApdexT instead of the default ApdexT value.
Fixed issue with closing transactions when the request is aborted.
Previously, aborted requests would result in the transaction remaining open indefinitely. Now the transaction will be correctly finished and its resources freed.