New Relic integrates with Amazon Web Services (AWS) for reporting your Amazon CodeBuild metrics and other data to New Relic.
This document explains how to activate the integration, and describes the data reported.
Features
Collect and send telemetry data to New Relic from your AWS CodeBuild services using our integration. Monitor your services, query incoming data, and build dashboards to observe everything at a glance.
Activate integration
This integration is available through CloudWatch MetricStreams.
To enable this integration, see how to connect AWS services to New Relic via CloudWatch Metric Streams.
Find and use data
To find your integration's metrics, go to one.newrelic.com > Metrics and events and filter by aws.codebuild
.
Additionally, you can find the entities associated with Amazon CodeBuild by going to one.newrelic.com and searching for codebuild
.
Metric data
This New Relic infrastructure integration collects the following Amazon CodeBuild data:
CodeBuild Metric data
Metric (min, max, average, count, sum) | Unit | Description |
---|---|---|
| Count | Measures the number of builds triggered. |
| Count | Measures the number of builds that failed because of client error or a timeout. |
| Count | Measures the number of successful builds. |
| Seconds | Measures the duration of all builds over time. |
| Seconds | Measures the duration of the build's BUILD phase. |
| Seconds | Measures the duration of the build's PRE_BUILD phase. |
| Seconds | Measures the duration of the build's POST_BUILD phase |
| Seconds | Measures the duration of the build's FINALIZING phase. |
| Seconds | Measures the duration of the build's UPLOAD_ARTIFACTS phase. |
| Seconds | Measures the duration of the build's SUBMITTED phase. |
| Seconds | Measures the duration of the build's PROVISIONING phase. |
| Seconds | Measures the duration of the build's QUEUED phase. |
| Seconds | Measures the duration of the build's INSTALL phase. |
| Seconds | Measures the duration of the build's DOWNLOAD_SOURCE phase. |
| CPU Units | The number of CPU units of allocated processing used by the build container. |
| Megabytes | The number of megabytes of memory used by the build container. |
| Percent | The percentage of allocated processing used by the build container. |
| Percent | The percentage of allocated memory used by the build container. |
| Bytes/second | The storage read speed used by the build container. |
| Bytes/second | The storage write speed used by the build container. |
All imported data has one dimension: ProjectName
Create alerts
You can set up to notify you if there are any changes. For example, you can set up an alert to notify relevant parties of critical or fatal errors.
Learn more about creating alerts here.