Serverless Monitoring for AWS Lambda

Datadog Serverless Monitoring for AWS Lambda gives you visibility into your Lambda functions.

To get started, follow the installation instructions to collect metrics, traces, and logs from your serverless applications.

How it works

Collecting Enhanced Metrics from AWS Lambda

Datadog Serverless Monitoring makes use of a runtime-specific Datadog Lambda Library, in conjunction with the Datadog Lambda extension, to send telemetry from your Lambda functions.

The Datadog Lambda extension collects logs through CloudWatch, in addition to traces, enhanced metrics, and custom metrics from the Datadog Lambda Library.


The following pages describe how to install and configure Serverless Monitoring for AWS Lambda—including how to use metrics, traces, and logs for full visibility.

Monitor your entire serverless stack in the Serverless view

The Serverless view enables you to correlate high-level metrics from AWS resources with those of Lambda functions, so you can quickly spot issues and start your investigation.

By default, the Serverless view groups your serverless resources by service to help you visualize how each part of your application is performing. For each service, you can see the functions that belong to it, along with the resources (Amazon API Gateway, SNS, SQS, DynamoDB, S3, EventBridge, Kinesis) that invoked them.

Datadog Serverless Monitoring

Resolve AWS Lambda function failures faster by monitoring invocation payloads

Datadog automatically collects function requests and responses for all of your function invocations, providing key information that can help troubleshoot issues. For example, if you’re notified that one of your Lambda functions is experiencing failures, you can analyze relevant request payloads to check for missing parameters, mistyped resource addresses, or other misconfigurations that may be behind the failures.

By identifying misconfigurations in failing requests, you can more easily reproduce issues in your development environment—and then run tests to verify your bug fixes.

Datadog Serverless Monitoring

Real-time metrics for alerting on issues across your Lambda function environment

Datadog’s enhanced Lambda metrics, which appear in Datadog with the prefix aws.lambda.enhanced, are available at second granularity and in near real time. You can use enhanced Lambda metrics for alerts or SLOs on cold starts, estimated AWS costs, timeouts, out-of-memory errors, and memory usage across all of your Lambda functions. This enables you to view performance issues in your serverless environments as they occur and troubleshoot without delay.

Datadog Serverless Monitoring

Monitor serverless configuration changes with deployment tracking

Easily correlate serverless code, configuration, and deployment changes with metrics, traces, and logs from your functions for real-time insight into how these changes may affect the health and performance of your applications.

Datadog Serverless Monitoring

Additional capabilities

Further Reading