Amazon CloudWatch
用户指南
AWS 文档中描述的 AWS 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 Amazon AWS 入门

AWS CodeBuild 指标

AWS CodeBuild 将指标发送到 CloudWatch。有关更多信息,请参阅 AWS CodeBuild 用户指南中的监控 AWS CodeBuild

AWS CodeBuild CloudWatch Metrics

The following metrics can be tracked per AWS account, or per AWS build project.

Metric

Description

Builds

Measures the number of builds triggered.

Units: Count

Valid CloudWatch statistics: Sum

Duration

Measures the duration of all builds over time.

Units: Seconds

Valid CloudWatch statistics: Average (recommended), Maximum, Minimum

SucceededBuilds

Measures the number of successful builds.

Units: Count

Valid CloudWatch statistics: Sum

FailedBuilds

Measures the number of builds that failed because of client error or because of a timeout.

Units: Count

Valid CloudWatch statistics: Sum

AWS CodeBuild CloudWatch Dimensions

ProjectName is the only AWS CodeBuild metrics dimension. If it is specified, then the metrics are for that project. If it is not specified, then the metrics are for the current AWS account.

Dimension

Description

ProjectName

If specified, then the metrics are for that project. If not specified, then the metrics are for the AWS account.