newrelic/serverless-newrelic-lambda-layers

Add option to bypass dynamic wrapping

mrickard opened this issue · 1 comments

No-code-change instrumentation is convenient, though ESM functions can see an impact on performance if they import several modules or dependencies. Those functions can instead use manual wrapping. The Serverless New Relic Lambda Layers plugin should provide an option to bypass wrapping for functions instrumented manually, but which would still benefit from the plugin's other features (applying the latest layer, configuring environment variables).

See newrelic/newrelic-lambda-layers#174