Issues getting newrelic-lambda layer working to send cloudwatch data into newrelic

I am trying to get the newrelic-lambda layer working to send cloudwatch data into newrelic. Haven’t gotten it to successfully work yet. I am seeing ‘Lambda can’t find the file newrelic-lambda-wrapper.js. Make sure that your handler upholds the format: file-name.method.’ on all of my instrumented functions, but haven’t been able to determine why I am getting that error with the layer attached.

@kebelinglabant that particular error is an AWS UI bug that we don’t have any control over, but it is safe to ignore.

When you invoke your function, are you seeing a NR_LAMBDA_MONITORING instrumentation payload in the CloudWatch logs output?

1 Like