Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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.

  1. If you haven’t already, set up the Amazon Web Services integration.

  2. 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

Resource Changes

Resource Changes is in Preview. Enabling resource collection can impact your AWS CloudWatch costs.

You can use Resource Changes for visibility and control over configuration changes to your AWS Lambda functions. To enable Resource Changes, enable resource collection in the Datadog-AWS integration:

  1. Navigate to the Amazon Web Services integration tile in Datadog.
  2. Select your AWS account and navigate to the Resource Collection tab.
  3. Toggle Enable Resource Collection.

See the Resource Changes documentation for more information.

Further Reading

Documentation, liens et articles supplémentaires utiles: