Notes
Dropped support for Node versions less than 6.
Agent no longer creates transactions when in a
stopped,stoppingorerroredstate.Removed public API methods that have been deprecated since Agent v2:
createTracer,createWebTransaction,createBackgroundTransaction, andaddCustomParameter/(s). See the Migration Guide for more information.Flagged
API#setIgnoreTransactionas deprecated;TransactionHandle#ignoreshould be used instead.Released several feature flags. These flags are no longer used:
feature_flag.custom_instrumentationfeature_flag.custom_metricsfeature_flag.syntheticsfeature_flag.native_metrics
Added
plugins.native_metrics.enabledconfiguration value.This configuration value controls the use of the
@newrelic/native-metricsmodule. When set tofalsethe agent will not attempt to load that module.Custom metrics recorded via
recordMetricandincrementMetricAPI calls now automatically have the name prepended with'Custom/'. Usages of these APIs that manually prepend with'Custom/'will need to remove the manually specified one or will end up with metrics prepended with'Custom/Custom/'.Dropped support for
node-cassandra-cql.Removed from
ignore_server_configurationconfig setting.Removed deprecated configuration settings
capture_paramsandignored_params.The agent will no longer cause a stack overflow when logging at trace level to stdout.
Previously, the agent would inadvertently trigger a trace level log from its trace level log (through wrapping a nextTick call), causing a stack overflow. The agent now detects this case and aborts the nested call.