The Service Map for APM is here!

AWS CodeDeploy

Crawler Crawler
CodeDeploy default dashboard

Overview

AWS CodeDeploy is a service that automates code deployment to instances in the cloud and on-premise.

Enable this integration to see AWS CodeDeploy deployment events and metrics in Datadog.

Setup

Installation

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

Configuration

  1. Add those permissions to your Datadog IAM policy in order to collect Amazon CodeDeploy metrics:

    • codedeploy:ListApplications : Used to list all CodeDeploy applications
    • codedeploy:ListDeploymentGroups: Used to list all deployment groups within an application (edited)
    • codedeploy:ListDeployments: Used to list deployments in a deployment group within an application (edited)
    • codedeploy:BatchGetDeployments : Gets detailed descriptions of deployments (edited)
    • codedeploy:BatchGetDeploymentGroups: Gets detailed descriptions of deployment groups

    For more information on CodeDeploy policies, review the documentation on the AWS website.

  2. Install the Datadog - AWS CodeDeploy integration.

Data Collected

Metrics

aws.codedeploy.deployment
(count)
Count of deployments.
shown as event
aws.codedeploy.deployment.run_time
(gauge)
The run time in seconds from deployment creation to completion.
shown as second

Each of the metrics retrieved from AWS will be assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

Events

The following events are generated by the integration:

  • Successful deployments
  • Failed deployments
  • Stopped deployments

Service Checks

The AWS Codedeploy integration does not include any service check at this time.

Troubleshooting

Need help? Contact Datadog Support.