• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Introduction to AWS Lambda monitoring

New Relic's instrumentation for AWS Lambda offers deep visibility into the inner workings of your functions. By adding the New Relic agent to your function, each invocation is monitored by New Relic. This enables you to track the duration of function invocations, monitor errors, and record details about the source events and your function's responses. new-relic-lambda-entities-screenshot.png

Shipping methods for Lambda telemetry

There are three primary methods to ship telemetry data from AWS Lambda to New Relic, each with its own cost and reliability considerations:

  • Cost-Effective Method: Utilize New Relic's layers, including the Lambda extension, which avoids sending data to AWS CloudWatch by default.
  • Reliability-Focused Method: Disable the New Relic Lambda extension and use CloudWatch exclusively to ship data, reducing the Lambda function's overhead.
  • Hybrid Method: Combine the extension with CloudWatch as a fallback, balancing cost efficiency with reliability.

Cost consideration

Implementing serverless monitoring for AWS Lambda may incur additional AWS charges. The newrelic-log-ingestion Lambda function, which reports data to New Relic, is considered a third-party service, and any associated AWS charges are the user's responsibility. By using the newrelic-lambda-extension included in New Relic Lambda layers, you can avoid sending logs and telemetry data via CloudWatch, although configuring the newrelic-log-ingestion function as a CloudWatch fallback is possible for high availability needs.

Enabling serverless monitoring for AWS Lambda may result in Amazon Web Services charges. Our newrelic-log-ingestion Lambda function, which reports your Lambda data to us, is considered a Third Party Service: AWS charges resulting from your use of it are your responsibility.

If you use our newrelic-lambda-extension bundled in our New Relic Lambda Layers, you can avoid sending logs and telemetry via CloudWatch and the newrelic-log-ingestion function. It's also possible to configure the newrelic-log-ingestion function as a CloudWatch fallback method for functions that require high availability of observability data.

What's next

Compatibility and requirement

Learn more about supported runtimes and prerequisites

Install and configure Lambda monitoring

Get started with instrumentation and configuration for your Lambda functions

Data and UI

Learn how to use New Relic to monitor your AWS Lambda functions

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.