- Essentials
- In The App
- Infrastructure
- Application Performance
- Log Management
- Security Platform
- UX Monitoring
- Administration
AWS CodeBuild is a build service that compiles source code, runs tests, and produces software packages that are ready to deploy.
Install the Datadog AWS CodeBuild integration to:
If you haven’t already, set up the Amazon Web Services integration first.
In the AWS integration tile, ensure that CloudBuild
is checked under metric collection.
Install the Datadog - AWS Codebuild integration.
Configure AWS CodeBuild to send logs either to a S3 bucket or to CloudWatch.
Note: If you log to a S3 bucket, make sure that amazon_codebuild
is set as Target prefix.
If you haven’t already, set up the Datadog log collection AWS Lambda function.
Once the lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your AWS CodeBuild logs in the AWS console:
aws.codebuild.build_duration (gauge) | Measures the duration of the build's BUILD phase. Shown as second |
aws.codebuild.builds (count) | Measures the number of builds triggered. Shown as build |
aws.codebuild.download_source_duration (gauge) | Measures the duration of the build's DOWNLOAD_SOURCE phase. Shown as second |
aws.codebuild.duration (gauge) | Measures the total duration of all builds over time. Shown as second |
aws.codebuild.duration.maximum (gauge) | Measures the maximum duration of all the builds over time. Shown as second |
aws.codebuild.duration.minimum (gauge) | Measures the minimum duration of all the builds over time. Shown as second |
aws.codebuild.failed_builds (count) | Measures the number of failed builds because of client error or timeouts. Shown as build |
aws.codebuild.finalizing_duration (gauge) | Measures the duration of the build's FINALIZING phase. Shown as second |
aws.codebuild.install_duration (gauge) | Measures the duration of the build's INSTALL phase. Shown as second |
aws.codebuild.post_build_duration (gauge) | Measures the duration of the build's POST_BUILD phase Shown as second |
aws.codebuild.pre_build_duration (gauge) | Measures the duration of the build's PRE_BUILD phase. Shown as second |
aws.codebuild.provisioning_duration (gauge) | Measures the duration of the build's PROVISIONING phase. Shown as second |
aws.codebuild.queued_duration (gauge) | Measures the duration of the build's QUEUED phase. Shown as second |
aws.codebuild.submitted_duration (gauge) | Measures the duration of the build's SUBMITTED phase. Shown as second |
aws.codebuild.succeeded_builds (count) | Measures the number of successful builds. Shown as build |
aws.codebuild.upload_artifacts_duration (gauge) | Measures the duration of the build's UPLOAD_ARTIFACTS phase. Shown as second |
The AWS CodeBuild integration does not include any events.
The AWS CodeBuild integration does not include any service checks.
Need help? Contact Datadog support.