Serverless Newrelic Lambda Layers banner
newrelic newrelic

Serverless Newrelic Lambda Layers

DevOps community

Description

A Serverless plugin to install New Relic's AWS Lambda layers without requiring a code change.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

New Relic Open Source community plus project banner.

serverless-newrelic-lambda-layers

A [Serverless](https://serverless.com) plugin to add [New Relic](https://www.newrelic.com) observability using [AWS Lambda Layers](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) without requiring a code change.

Requirements

  • serverless v3.x & v4.x (This plugin has been tested to work with Serverless Framework v3 & v4)
  • Node >= 16.x (if using Serverless version 3)

Features

  • Installs and configures the New Relic AWS Integration
  • Supports Node.js, Python, Java, Ruby, Dotnet runtimes
  • No code change required to enable New Relic
  • Bundles New Relic's agent in a single layer
  • Configures CloudWatch subscription filters automatically

Install

With NPM:

npm install --save-dev serverless-newrelic-lambda-layers

(Note: this plugin's production dependencies are now defined as peer dependencies. NPM v7 and later will install missing peer dependencies automatically, but v6 does not.)

With yarn:

yarn add --dev serverless-newrelic-lambda-layers

Add the plugin to your `serverless.yml`:

plugins:
  - serverless-newrelic-lambda-layers

This plugin should come last in your plugin ordering, particularly if you're also using plugins such as `serverless-plugin-typescript` or `serverless-webpack`.

If you don't yet have a New Relic account, [si