New Relic Integration for Serverless Framework

Hi Team,
I am trying to Instrument Serverless Framework lambda function and i am getting some error

Hey @karthikeyan.p1,

Thanks for trying out our serverless-newrelic-lambda-layers plugin! There are some required keys and values that you’ll need to include in your serverless.yaml.

  1. See the install instructions here.
  2. If you have an existing integration in New Relic that points to your AWS account, you’ll also want to include the linkedAccount option.
  3. Here are details on how to see debug logs from the plugin and in CloudWatch.

Note: The linkedAccount is the name you’ll see in at Infrastructure → AWS.

Best of luck! I really enjoy the Serverless plugin as it makes including our layer in a CI/CD process easier.