Mackerel supports obtaining and monitoring AWS CodeBuild metrics in AWS Integration. When integrating with AWS Integration, billable targets are determined using the conversion 1 Project = 1 Micro Host. In addition to this, depending on the number of metrics retrieved, you may be charged for exceeding the maximum number of metrics per micro host.
Please refer to the following page for AWS Integration configuration methods and a list of supported AWS services.
AWS Integration
Obtaining metrics
The metrics obtainable with AWS Integration's CodeBuild support are as follows. For Metric
explanations, refer to the AWS help page.
The maximum number of metrics obtainable is 20.
Graph name | Metric | Metric name in Mackerel | Unit | Statistics |
---|---|---|---|---|
Builds | Builds SucceededBuilds FailedBuilds |
codebuild.builds.count codebuild.builds.succeeded codebuild.builds.failed |
integer | Sum |
Durations | Duration SubmittedDuration QueuedDuration ProvisioningDuration DownloadSourceDuration InstallDuration PreBuildDuration BuildDuration PostBuildDuration UploadArtifactsDuration FinalizingDuration |
codebuild.builds.all_builds codebuild.builds.submitted codebuild.builds.queued codebuild.builds.provisioning codebuild.builds.download_source codebuild.builds.install codebuild.builds.pre_build codebuild.builds.build codebuild.builds.post_build codebuild.builds.upload_artifact codebuild.builds.finalizing |
seconds | Average |
CPU Utilization | CPUUtilized | codebuild.cpu_utilization.used | float | Average |
CPU Utilization Percent | CPUUtilizedPercent | codebuild.cpu_utilization_percent.used | percentage | Average |
Memory Utilization | MemoryUtilized | codebuild.memory_utilization.used | bytes | Average |
Memory Utilization Percent | MemoryUtilizedPercent | codebuild.memory_utilization_percent.used | percentage | Average |
Storage IO Bytes | StorageReadBytes StorageWriteBytes |
codebuild.storage_io_bytes.read codebuild.storage_io_bytes.write |
bytes/sec | Average |