Set the following environment variable for the AWS Lambda function:
NEW_RELIC_SERVERLESS_MODE_ENABLED = true
Synopsis
Agent version v9.14.0 introduced an optimization in the handling of boolean based configuration parameters and this inadvertently caused the agent's "serverless" mode for AWS Lambda layer usage to break.
We will be fixing this in an upcoming agent release, but for now serverless mode will need to be forced on by way of an environment variable.
Temporary Workaround
Set the following environment variable for the AWS Lambda function:
Synopsis
Agent version v9.14.0 introduced an optimization in the handling of boolean based configuration parameters and this inadvertently caused the agent's "serverless" mode for AWS Lambda layer usage to break.
We will be fixing this in an upcoming agent release, but for now serverless mode will need to be forced on by way of an environment variable.