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.

You must configure cloud connections to monitor this entity. See Set up Cisco AppDynamics Cloud Collectors to Monitor AWS.

Cisco Cloud Observability displays AWS entities on the Observe page. Metrics are displayed for specific entity instances in the list and detail views.

This document contains references to third-party documentation. Cisco AppDynamics does not own any rights and assumes no responsibility for the accuracy or completeness of such third-party documentation.

Detail View

To display the detail view for an AWS CodeBuild instance:

  1. Navigate to the Observe page. 
  2. Under Management & Dev Tools, click AWS CodeBuild Projects.
    The list view now displays.
  3. From the list, click an instance Name to display the detail view.
    The detail view displays the metrics, key performance indicators, and properties (attributes) related to the instance you selected.

Metrics and Key Performance Indicators

Cisco Cloud Observability displays the following metrics and key performance indicators (KPIs) for AWS CodeBuild. For more information, see Monitoring AWS CodeBuild.

Display NameSource Metric NameDescription
Build Duration (Seconds)





SubmittedDurationMeasures the duration of the build's SUBMITTED phase.
BuildDuration

Measures the duration of the build's BUILD phase.

PreBuildDurationMeasures the duration of the build's PRE_BUILD phase.
ProvisioningDurationMeasures the duration of the build's PROVISIONING phase.
QueuedDurationMeasures the duration of the build's QUEUED phase.
InstallDurationMeasures the duration of the build's INSTALL phase.
PostBuildDurationMeasures the duration of the build's POST_BUILD phase.
DurationMeasures the duration of all builds over time.
DownloadSourceDurationMeasures the duration of the build's DOWNLOAD_SOURCE phase.
Build CountsSucceededBuildsMeasures the number of successful builds.
FailedBuildsMeasures the number of builds that failed because of client error or a timeout.
CPU Utilization (%)CPUUtilizedPercentThe percentage of allocated processing used by the build container.
CPU Utilized (Units)CPUUtilizedThe number of CPU units of allocated processing used by the build container.
Memory Utilized (MBy)MemoryUtilizedThe number of megabytes of memory used by the build container.
Memory Utilization (%)MemoryUtilizedPercentThe percentage of allocated memory used by the build container.
Storage I/O (By/s)StorageReadBytesThe storage read speed used by the build container.
StorageWriteBytesThe storage write speed used by the build container.

Properties (Attributes)

Cisco Cloud Observability displays the following properties for AWS CodeBuild.

Display NameProperty NameDescription
Nameaws.codebuild_project.nameThe name of the CodeBuild project.
ARNaws.codebuild_project.arnThe Amazon Resource Name (ARN) of the CodeBuild project.
Descriptionaws.codebuild_project.descriptionThe description of the CodeBuild project.
Environment Imageaws.codebuild_project.environment.imageThe Docker image for the environment of the CodeBuild project.
Environment Typeaws.codebuild_project.environment.type

The type of environment for the CodeBuild project.

Environment Compute Typeaws.codebuild_project.environment.compute.typeThe type of compute used in the environment for the CodeBuild project. 
Environment Image Pull Credentials Typeaws.codebuild_project.environment.image_pull_credentials.typeThe type of credentials CodeBuild uses to pull images in your build.
Source Typeaws.codebuild_project.source.typeThe type of repository that contains the source code to be built.
Source Locationaws.codebuild_project.source.locationThe location of the source code for the project.
Build Statusaws.codebuild_project.build_statusThe status of the CodeBuild build.
Build Status Config Contextaws.codebuild_project.build_status_config.contextSpecifies the context of the build status CodeBuild sends to the source provider.
Build Status Config Target URLaws.codebuild_project.build_status_config.target_urlSpecifies the target url of the build status CodeBuild sends to the source provider.
Badge Request URLaws.codebuild_project.badge.request_urlThe publicly-accessible URL through which you can access the build badge for your project.
VPC IDaws.codebuild_project.vpc.idThe ID of the Amazon VPC.
Build Artifact Typeaws.codebuild_project.build.artifact.typeThe type of build output artifact.
Build Artifact Locationaws.codebuild_project.build.artifact.locationInformation about the build output artifact location.
Build Artifact Artifact Identifieraws.codebuild_project.build.artifact.artifact_identifierThe identifier for this artifact definition.
Build Batch Config Service Roleaws.codebuild_project.build_batch_config.service_roleSpecifies the service role ARN for the batch build project.
Build Batch Config Combine Artifactsaws.codebuild_project.build_batch_config.combine_artifactsSpecifies if the build artifacts for the batch build should be combined into a single artifact location.
Build Batch Config Maximum Builds Allowedaws.codebuild_project.build_batch_config.maximum_builds_allowedSpecifies the maximum number of builds allowed.
Build Batch Config Timeoutaws.codebuild_project.build_batch_config.timeoutSpecifies the maximum amount of time, in minutes, that the batch build must be completed in.
Build Batch Config Batch Report Modeaws.codebuild_project.build_batch_config.batch_report_modeSpecifies how build status reports are sent to the source provider for the batch build.
Logs Config Cloud Watch Logs Statusaws.codebuild_project.logs_config.cloud_watch_logs.statusThe current status of the logs in CloudWatch Logs for a build project.
Logs Config S3 Logs Statusaws.codebuild_project.logs_config.s3_logs.statusThe current status of the S3 build logs.
Logs Config S3 Logs Locationaws.codebuild_project.logs_config.s3_logs.locationThe ARN of an S3 bucket and the path prefix for S3 logs.

Retention and Purge Time-To-Live (TTL)

For all cloud and infrastructure entities, the retention TTL is 180 minutes (3 hours) and the purge TTL is 525,600 minutes (365 days). 

Amazon Web Services, the AWS logo, AWS, and any other AWS Marks used in these materials are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.