New Features
- Added
@newrelic/aws-sdkmodule to agent for auto-include on install. - Added splitting of application name using semicolons in the env var.
- Instrumented
connection.executeformysql2.
Improvements
@newrelic/native-metricsmodule is defaulted to disabled in serverless mode.This can reduce lambda cold-start times by up to 170ms. The
native-metricsmodule can rarely load in serverless environments due to differences from build environment to deployed environment and offers little value in a serverless environment.Added env var
NEW_RELIC_NATIVE_METRICS_ENABLEDto enable/disable the native-metrics moduleAdded a test for querying poolCluster.of()
Added HTTP method to segment attributes for external requests.
Updated the
bin/ssl.shsuch that it uses verbose output, will exit on first error code, and will refuse to proceed with LibreSSL (which can't generate certs).Added a
clearsub-command tobin/ssl.shthat will allow developers to quickly remove generated ssl/cert files and regenerate (useful is switch between platforms via containers/docker and certs needs to be regenerated)
Fixes
- Removed unused
mysqlbootstrap test code. - Increased timeout for
index-bad-versiontest to reduce flickers on Node 12. - Changed file modification to leverage
writeFileforwatchFiletest. This triggers the watcher in a reasonable amount of time much more consistently. - Removed testing of Bluebird 3.7 on Node v10 until they fix the segfault issue.