Deployment Tracking for AWS Lambda Serverless Applications

Deployment tracking helps you to understand when a new version of code or a configuration change causes a spike in errors, degraded performance, or when your cloud environment drifts from its expected state.

To access deployment tracking for your serverless applications, select a function in the Serverless view to open a side panel, and click the Deployments tab. This shows key serverless metrics like invocations, execution duration, and error counts automatically displayed with event overlays that mark code deployments and configuration changes related to the function.

For visibility into historical code and configuration changes, adjust the global time selector at the top right of the view.

Setup

Datadog collects code and configuration change events for your AWS Lambda functions from AWS CloudTrail.

If you haven’t already, set up the Amazon Web Services integration first. Then, add the following permission to the policy document for your AWS/Datadog role:

cloudtrail:LookupEvents

If you have already added the permission, but you still don’t see events for any of your AWS Lambda functions, enable Deployment Tracking using the AWS Lambda Integration Tile.

Lambda Integration Settings

Further Reading

Additional helpful documentation, links, and articles:

PREVIEWING: rtrieu/product-analytics-ui-changes