Introduction
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.
Note
Use the OpsRamp AWS public cloud integration to discover and collect metrics against the AWS service.Setup
To set up the OpsRamp AWS integration and discover the AWS service,
go to AWS Integration Discovery Profile and select CodeBuild
.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type | Description |
---|---|---|---|---|
aws_codebuild_Duration | Duration | Milliseconds | AVERAGE | Measures the elapsed wall clock time from when the function code starts executing as a result of an invocation to when it stops executing. |
aws_codebuild_BuildDuration | Build Duration | Seconds | Average | Measures the duration of the builds BUILD phase. |
aws_codebuild_Builds | Builds | Count | Sum | Measures the number of builds triggered. |
aws_codebuild_DownloadSourceDuration | Download Source Duration | Seconds | Average | Measures the duration of the builds DOWNLOAD_SOURCE phase. |
aws_codebuild_Duration | Duration | Seconds | Average | Measures the duration of all builds over time. |
aws_codebuild_FailedBuilds | Failed Builds | Count | Average | Measures the number of builds that failed because of client error or a timeout. |
aws_codebuild_FinalizingDuration | Finalizing Duration | Seconds | Average | Measures the duration of the builds FINALIZING phase. |
aws_codebuild_InstallDuration | Install Duration | Seconds | Average | Measures the duration of the builds INSTALL phase. |
aws_codebuild_PostBuildDuration | PostBuild Duration | Seconds | Average | Measures the duration of the builds POST_BUILD phase. |
aws_codebuild_PreBuildDuration | Pre Build Duration | Seconds | Average | Measures the duration of the builds PRE_BUILD phase. |
aws_codebuild_ProvisioningDuration | Provisioning Duration | Seconds | Average | Measures the duration of the builds PROVISIONING phase. |
aws_codebuild_QueuedDuration | Queued Duration | Seconds | Average | Measures the duration of the build QUEUED phase. |
aws_codebuild_SubmittedDuration | Submitted Duration | Seconds | Average | Measures the duration of the build SUBMITTED phase. |
aws_codebuild_SucceededBuilds | Succeeded Builds | Count | Sum | Measures the number of successful builds. |
aws_codebuild_UploadArtifactsDuration | Upload Artifacts Duration | Seconds | Average | Measures the duration of the build UPLOAD_ARTIFACTS phase. |
Event support
CloudTrail event support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile..