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 MetricMetric Display NameUnitAggregation 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.
DurationMillisecondsAverage
aws_codebuild_BuildDuration

Measures the duration of the builds BUILD phase.
Build DurationSecondsAverage
aws_codebuild_Builds

Measures the number of builds triggered.
BuildsCountSum
aws_codebuild_DownloadSourceDuration

Measures the duration of the builds DOWNLOAD_SOURCE phase.
Download Source DurationSecondsAverage
aws_codebuild_Duration

Measures the duration of all builds over time.
DurationSecondsAverage
aws_codebuild_FailedBuilds

Measures the number of builds that failed because of client error or a time-out.
Failed BuildsCountSum
aws_codebuild_FinalizingDuration

Measures the duration of the builds FINALIZING phase.
Finalizing DurationSecondsAverage
aws_codebuild_InstallDuration

Measures the duration of the builds INSTALL phase.
Install DurationSecondsAverage
aws_codebuild_PostBuildDuration

Measures the duration of the builds POST_BUILD phase.
PostBuild DurationSecondsAverage
aws_codebuild_PreBuildDuration

Measures the duration of the builds PRE_BUILD phase.
Pre Build DurationSecondsAverage
aws_codebuild_ProvisioningDuration

Measures the duration of the builds PROVISIONING phase.
Provisioning DurationSecondsAverage
aws_codebuild_QueuedDuration

Measures the duration of the build QUEUED phase.
Queued DurationSecondsAverage
aws_codebuild_SubmittedDuration

Measures the duration of the build SUBMITTED phase.
Submitted DurationSecondsAverage
aws_codebuild_SucceededBuilds

Measures the number of successful builds.
Succeeded BuildsCountSum
aws_codebuild_UploadArtifactsDuration

Measures the duration of the build UPLOAD_ARTIFACTS phase.
Upload Artifacts DurationSecondsAverage