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

What is AWS CodeBuild?

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 MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_codebuild_BuildDurationBuildDurationBuild DurationSecondsAverageMeasures the duration of the build's BUILD phase.
aws_codebuild_BuildsBuildsBuildsCountSumMeasures the number of builds triggered.
aws_codebuild_DownloadSourceDurationDownloadSourceDurationDownload Source DurationSecondsAverageMeasures the duration of the build's DOWNLOAD_SOURCE phase.
aws_codebuild_DurationDurationDurationSecondsAverageMeasures the duration of all builds over time.
aws_codebuild_FailedBuildsFailedBuildsFailed BuildsCountSumMeasures the number of builds that failed because of client error or a timeout.
aws_codebuild_FinalizingDurationFinalizingDurationFinalizing DurationSecondsAverageMeasures the duration of the build's FINALIZING phase.
aws_codebuild_InstallDurationInstallDurationInstall DurationSecondsAverageMeasures the duration of the build's INSTALL phase.
aws_codebuild_PostBuildDurationPostBuildDurationPost Build DurationSecondsAverageMeasures the duration of the build's POST_BUILD phase
aws_codebuild_PreBuildDurationPreBuildDurationPre Build DurationSecondsAverageMeasures the duration of the build's PRE_BUILD phase.
aws_codebuild_ProvisioningDurationProvisioningDurationProvisioning DurationSecondsAverageMeasures the duration of the build's PROVISIONING phase.
aws_codebuild_QueuedDurationQueuedDurationQueued DurationSecondsAverageMeasures the duration of the build's QUEUED phase.
aws_codebuild_SubmittedDurationSubmittedDurationSubmitted DurationSecondsAverageMeasures the duration of the build's SUBMITTED phase.
aws_codebuild_SucceededBuildsSucceededBuildsSucceeded BuildsCountSumMeasures the number of successful builds.
aws_codebuild_UploadArtifactsDurationUploadArtifactsDurationUpload Artifacts DurationSecondsAverageMeasures the duration of the build's UPLOAD_ARTIFACTS phase.