Notes
Changed
attributes.enabledtotrueby default.In the previous version we defaulted this to
falseto maintain parity withcapture_paramswhich defaulted tofalse. However, this is a invalid parity becauseattribute.enabledcontrols more attributes thancapture_params.
Improvements
Removed unnecessary checks around
Timer.unref()calls.unrefhas been supported since Node v0.9, meaning it will always be present in timers set by the agent (with 0.10 being the earliest supported version).Added a split in the node versions for the
mysql2andcassandraversioned tests.As of
mysql2v1.3.1 andcassandrav3.4.0 the minimum supported version of Node is 4.Replaced as many instances of
{}as possible withObject.create(null).Removed extraneous logger arg in
addCustomAttributecall.
Bug fixes
The agent will no longer generate browser data for ignored transactions.
Expanded Hapi instrumentation to support route
prehandlers.This is a Hapi route config option that was previously uninstrumented, causing transaction names to become invalid. This expanded instrumentation ensures that all additional handlers are wrapped and associated with the main route.