Notes
Changed
attributes.enabled
totrue
by default.In the previous version we defaulted this to
false
to maintain parity withcapture_params
which defaulted tofalse
. However, this is a invalid parity becauseattribute.enabled
controls more attributes thancapture_params
.
Improvements
Removed unnecessary checks around
Timer.unref()
calls.unref
has 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
mysql2
andcassandra
versioned tests.As of
mysql2
v1.3.1 andcassandra
v3.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
addCustomAttribute
call.
Bug fixes
The agent will no longer generate browser data for ignored transactions.
Expanded Hapi instrumentation to support route
pre
handlers.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.