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 | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_codebuild_Duration Measures the elapsed wall clock time from when the function code starts executing as a result of an invocation to when it stops executing. | Duration | Milliseconds | Average |
aws_codebuild_BuildDuration Measures the duration of the builds BUILD phase. | Build Duration | Seconds | Average |
aws_codebuild_Builds Measures the number of builds triggered. | Builds | Count | Sum |
aws_codebuild_DownloadSourceDuration Measures the duration of the builds DOWNLOAD_SOURCE phase. | Download Source Duration | Seconds | Average |
aws_codebuild_Duration Measures the duration of all builds over time. | Duration | Seconds | Average |
aws_codebuild_FailedBuilds Measures the number of builds that failed because of client error or a time-out. | Failed Builds | Count | Sum |
aws_codebuild_FinalizingDuration Measures the duration of the builds FINALIZING phase. | Finalizing Duration | Seconds | Average |
aws_codebuild_InstallDuration Measures the duration of the builds INSTALL phase. | Install Duration | Seconds | Average |
aws_codebuild_PostBuildDuration Measures the duration of the builds POST_BUILD phase. | PostBuild Duration | Seconds | Average |
aws_codebuild_PreBuildDuration Measures the duration of the builds PRE_BUILD phase. | Pre Build Duration | Seconds | Average |
aws_codebuild_ProvisioningDuration Measures the duration of the builds PROVISIONING phase. | Provisioning Duration | Seconds | Average |
aws_codebuild_QueuedDuration Measures the duration of the build QUEUED phase. | Queued Duration | Seconds | Average |
aws_codebuild_SubmittedDuration Measures the duration of the build SUBMITTED phase. | Submitted Duration | Seconds | Average |
aws_codebuild_SucceededBuilds Measures the number of successful builds. | Succeeded Builds | Count | Sum |
aws_codebuild_UploadArtifactsDuration Measures the duration of the build UPLOAD_ARTIFACTS phase. | Upload Artifacts Duration | Seconds | Average |