AWS CodeBuild

Dynatrace ingests metrics for multiple preselected namespaces, including AWS CodeBuild. You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

To enable monitoring for this service, you need

Add the service to monitoring

In order to view the service metrics, you must add the service to monitoring in your Dynatrace environment.

Configure service metrics

Once you add a service, Dynatrace starts automatically collecting a suite of metrics for this particular service. These are recommended metrics.

Recommended metrics:

  • Are enabled by default
  • Can't be disabled
  • Can have recommended dimensions (enabled by default, can't be disabled)
  • Can have optional dimensions (disabled by default, can be enabled)

Apart from the recommended metrics, most services have the possibility of enabling optional metrics.

Optional metrics:

  • Can be added and configured manually

Import preset dashboards

Dynatrace provides preset AWS dashboards that you can import from GitHub to your environment's dashboard page. Once you download a preset dashboard locally, there are two ways to import it.

codebuild

Available metrics

Name Description Unit Statistics Dimensions Recommended
BuildDuration Measures the duration of the build's BUILD phase Seconds Multi Region
BuildDuration Seconds Multi ProjectName ✔️
Builds Measures the number of builds triggered Count Sum Region ✔️
Builds Count Sum ProjectName ✔️
CPUUtilized The number of CPU units of allocated processing used by the build container None Multi ProjectName
CPUUtilized None Multi ProjectName, BuildId, BuildNumber
CPUUtilizedPercent The percentage of allocated processing used by the build container Percent Multi ProjectName
CPUUtilizedPercent Percent Multi ProjectName, BuildId, BuildNumber ✔️
DownloadSourceDuration Measures the duration of the build's DOWNLOAD_SOURCE phase Seconds Multi Region
DownloadSourceDuration Seconds Multi ProjectName
Duration Measures the duration of all builds over time Seconds Multi Region
Duration Seconds Multi ProjectName ✔️
FailedBuilds Measures the number of builds that failed because of client error or a timeout Count Sum Region ✔️
FailedBuilds Count Sum ProjectName ✔️
FinalizingDuration Measures the duration of the build's FINALIZING phase Seconds Multi Region
FinalizingDuration Seconds Multi ProjectName
InstallDuration Measures the duration of the build's INSTALL phase Seconds Multi Region
InstallDuration Seconds Multi ProjectName
MemoryUtilized The number of megabytes of memory used by the build container Megabytes Multi ProjectName
MemoryUtilized Megabytes Multi ProjectName, BuildId, BuildNumber
MemoryUtilizedPercent The percentage of allocated memory used by the build container Percent Multi ProjectName
MemoryUtilizedPercent Percent Multi ProjectName, BuildId, BuildNumber ✔️
PostBuildDuration Measures the duration of the build's POST_BUILD phase Seconds Multi Region
PostBuildDuration Seconds Multi ProjectName
PreBuildDuration Measures the duration of the build's PRE_BUILD phase Seconds Multi Region
PreBuildDuration Seconds Multi ProjectName
ProvisioningDuration Measures the duration of the build's PROVISIONING phase Seconds Multi Region
ProvisioningDuration Seconds Multi ProjectName
QueuedDuration Measures the duration of the build's QUEUED phase Seconds Multi Region
QueuedDuration Seconds Multi ProjectName ✔️
StorageReadBytes The storage read speed used by the build container Bytes/Second Multi ProjectName
StorageReadBytes Bytes/Second Multi ProjectName, BuildId, BuildNumber ✔️
StorageWriteBytes The storage write speed used by the build container Bytes/Second Multi ProjectName
StorageWriteBytes Bytes/Second Multi ProjectName, BuildId, BuildNumber ✔️
SubmittedDuration Measures the duration of the build's SUBMITTED phase Seconds Multi Region
SubmittedDuration Seconds Multi ProjectName
SucceededBuilds Measures the number of successful builds Count Sum Region ✔️
SucceededBuilds Count Sum ProjectName ✔️
UploadArtifactsDuration Measures the duration of the build's UPLOAD_ARTIFACTS phase Seconds Multi Region
UploadArtifactsDuration Seconds Multi ProjectName