AWS CodeBuild is a fully managed build service in the cloud. CodeBuild compiles your source code, runs unit tests, and produces artifacts that are ready to deploy. CodeBuild eliminates the need to provision, manage, and scale your own build servers. It provides prepackaged build environments for popular programming languages and build tools such as Apache Maven, Gradle, and more. You can also customize build environments in CodeBuild to use your own build tools. CodeBuild scales automatically to meet peak build requests.
Use the AWS public cloud integration to discover and collect metrics against the AWS service.
External reference
Setup
To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select CodeBuild.
Event support
CloudTrail event support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
Supported metrics
| OpsRamp Metric | AWS Metric | Metric Display Name | Unit | Aggregation Type | Description |
|---|---|---|---|---|---|
| aws_codebuild_BuildDuration | BuildDuration | Build Duration | Seconds | Average | Measures the duration of the build's BUILD phase. |
| aws_codebuild_Builds | Builds | Builds | Count | Sum | Measures the number of builds triggered. |
| aws_codebuild_DownloadSourceDuration | DownloadSourceDuration | Download Source Duration | Seconds | Average | Measures the duration of the build's DOWNLOAD_SOURCE phase. |
| aws_codebuild_Duration | Duration | Duration | Seconds | Average | Measures the duration of all builds over time. |
| aws_codebuild_FailedBuilds | FailedBuilds | Failed Builds | Count | Sum | Measures the number of builds that failed because of client error or a timeout. |
| aws_codebuild_FinalizingDuration | FinalizingDuration | Finalizing Duration | Seconds | Average | Measures the duration of the build's FINALIZING phase. |
| aws_codebuild_InstallDuration | InstallDuration | Install Duration | Seconds | Average | Measures the duration of the build's INSTALL phase. |
| aws_codebuild_PostBuildDuration | PostBuildDuration | Post Build Duration | Seconds | Average | Measures the duration of the build's POST_BUILD phase |
| aws_codebuild_PreBuildDuration | PreBuildDuration | Pre Build Duration | Seconds | Average | Measures the duration of the build's PRE_BUILD phase. |
| aws_codebuild_ProvisioningDuration | ProvisioningDuration | Provisioning Duration | Seconds | Average | Measures the duration of the build's PROVISIONING phase. |
| aws_codebuild_QueuedDuration | QueuedDuration | Queued Duration | Seconds | Average | Measures the duration of the build's QUEUED phase. |
| aws_codebuild_SubmittedDuration | SubmittedDuration | Submitted Duration | Seconds | Average | Measures the duration of the build's SUBMITTED phase. |
| aws_codebuild_SucceededBuilds | SucceededBuilds | Succeeded Builds | Count | Sum | Measures the number of successful builds. |
| aws_codebuild_UploadArtifactsDuration | UploadArtifactsDuration | Upload Artifacts Duration | Seconds | Average | Measures the duration of the build's UPLOAD_ARTIFACTS phase. |