Lambda-Extension v2.3.12

June 24, 2024

Notes

  • Adds local testing for Extension. Local testing is enabled by setting NEWRELIC_LOCAL_TESTING to true. Currently it supports Python runtime only, and generates Lambda layers for x86 and arm architectures using publish.sh and invokes the test Lambdas using test.sh script.

  • Removes SSM parameter store calls. Extension has sanitycheck calls to SSM store that adds to production quotas for customers. Call SSM store only when NEW_RELIC_LICENSE_KEY_SSM_PARAMETER_NAME var is set to true.

  • Adds timeout for calls to Secrets Manager & SSM Parameter Store.

  • Gives priority to NEW_RELIC_LICENSE_KEY and bypass calls to Secrets Manager if NEW_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 and NEW_RELIC_LAMBDA_HANDLER did not eliminate warning message for the Node.js ESM scripts. The solution involved using NEW_RELIC_USE_ESM to detect ESM scripts #209.