Notes
Adds local testing for Extension. Local testing is enabled by setting
NEWRELIC_LOCAL_TESTING
totrue
. Currently it supports Python runtime only, and generates Lambda layers forx86
andarm
architectures usingpublish.sh
and invokes the test Lambdas usingtest.sh
script.Removes
SSM parameter store
calls. Extension has sanitycheck calls toSSM store
that adds to production quotas for customers. CallSSM store
only whenNEW_RELIC_LICENSE_KEY_SSM_PARAMETER_NAME
var is set totrue
.Adds timeout for calls to
Secrets Manager
&SSM Parameter Store
.Gives priority to
NEW_RELIC_LICENSE_KEY
and bypass calls toSecrets Manager
ifNEW_RELIC_LICENSE_KEY
is set.
Fixed issue
- Resolved Extension warning messages for Node.js runtime with ESM scripts. Previously, correctly configuring
newrelic-lambda-wrapper.handler
andNEW_RELIC_LAMBDA_HANDLER
did not eliminate warning message for the Node.js ESM scripts. The solution involved usingNEW_RELIC_USE_ESM
to detect ESM scripts #209.