Once you’ve integrated with AWS Cloudwatch, you have access to metrics from AWS Cloudfront, which is a web service that expedites the delivery of your users’ access to your static and dynamic web content, including.html,.css,.js, and image files. Edge locations are a global network of data centers that CloudFront uses to deliver your content.

All available AWS integrations

To verify metrics are reporting, search for the metrics on the Metric details page in Project settings.

The following table shows the Cloudfront metrics ingested by Lightstep.

Metric Name Unit Description
aws.cloudfront.4xx_error_rate percent The proportion of all viewer requests for which an HTTP status code is returned.
aws.cloudfront.401_error_rate percent The proportion of all viewer requests for which an HTTP status code of 401 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.403_error_rate percent The proportion of all viewer requests for which an HTTP status code of 403 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.404_error_rate percent The proportion of all viewer requests for which 404 is returned as the HTTP status code. You must enable additional metrics before you can access this metric.
aws.cloudfront.5xx_error_rate percent The proportion of all reader requests for which an HTTP status code of 5xx is returned.
aws.cloudfront.502_error_rate percent The proportion of all viewer requests for which an HTTP status code of 502 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.503_error_rate percent The proportion of all viewer requests for which an HTTP status code of 503 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.504_error_rate percent The proportion of all viewer requests for which an HTTP status code of 504 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.bytes_downloaded_sum count The total amount of data that viewers who requested GET, HEAD, and OPTIONS downloaded.
aws.cloudfront.bytes_uploaded_sum count The total amount of data that users who used CloudFront's POST and PUT requests to upload to your origin in bytes.
aws.cloudfront.cache_hit_rate percent The proportion of caching-eligible requests for which CloudFront provided cached content. Requests for HTTP POST and PUT, as well as errors, are not regarded as cacheable requests. You must enable additional metrics before you can access this metric.
aws.cloudfront.origin_latency milliseconds When a request is delivered from the origin rather than the CloudFront cache, the total amount of time, in milliseconds, between receiving the request and when CloudFront begins to respond to the network (not the viewer). First byte latency or time-to-first-byte are other names for this. You must enable additional metrics before you can access this metric. Use the ExtendedStatistics option rather than Statistics to obtain a Percentile statistic from the CloudWatch API. See GetMetricStatistics in the Amazon CloudWatch API Reference or the reference manual for the AWS SDKs for more details.
aws.cloudfront.requests_sum count The total number of HTTP methods and HTTP and HTTPS requests for viewers that CloudFront has received.
aws.cloudfront.total_error_rate percent The proportion of all viewer requests for which 4xx or 5xx is the response's HTTP status code.
aws.cloudfront.4xx_error_rate percent The proportion of all viewer requests for which an HTTP status code is returned.
aws.cloudfront.401_error_rate percent The proportion of all viewer requests for which an HTTP status code of 401 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.403_error_rate percent The proportion of all viewer requests for which an HTTP status code of 403 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.404_error_rate percent The proportion of all viewer queries for which 404 is returned as the HTTP status code. You must enable additional metrics before you can access this metric.
aws.cloudfront.5xx_error_rate percent The proportion of all viewer requests for which an HTTP status code of 5xx is returned.
aws.cloudfront.502_error_rate percent The proportion of all viewer requests for which an HTTP status code of 502 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.503_error_rate percent The proportion of all viewer requests for which an HTTP status code of 503 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.504_error_rate percent The proportion of all viewer requests for which an HTTP status code of 504 is returned. You must enable additional metrics before you can access this metric.
aws.cloudfront.bytes_downloaded count The total amount of data that viewers who requested GET, HEAD, and OPTIONS downloaded.
aws.cloudfront.bytes_uploaded count The total amount of data that users who used CloudFront's POST and PUT requests to upload to your origin in bytes.
aws.cloudfront.cache_hit_rate percent The proportion of caching-eligible requests for which CloudFront provided cached content. Requests for HTTP POST and PUT, as well as errors, are not regarded as cacheable requests. You must enable additional metrics before you can access this metric.
aws.cloudfront.origin_latency milliseconds When a request is delivered from the origin rather than the CloudFront cache, the total amount of time, in milliseconds, between receiving the request and when CloudFront begins to respond to the network (not the viewer). First byte latency or time-to-first-byte are other names for this. You must enable additional metrics before you can access this metric. Use the ExtendedStatistics parameter rather than Statistics to obtain a Percentile statistic from the CloudWatch API. See GetMetricStatistics in the Amazon CloudWatch API Reference or the reference manual for the AWS SDKs for more details.
aws.cloudfront.requests count The total number of HTTP methods and HTTP and HTTPS requests for viewers that CloudFront has received.
aws.cloudfront.total_error_rate percent The proportion of all viewer requests for which 4xx or 5xx is the response's HTTP status code.
aws.cloudfront.invocations_sum count The total number of times the function was called within a specific time frame.
aws.cloudfront.validation_errors_sum count The quantity of validation errors the function generated in a specific amount of time. When a function runs successfully but produces falsified data, validation errors happen.
aws.cloudfront.execution_errors_sum count The total number of execution errors that took place during a specific time frame Execution errors happen when a function cannot be successfully completed.
aws.cloudfront.execution_time percent The duration (0–100) of the function's execution expressed as a percentage of the allotted time. A value of 35, for instance, indicates that the function was finished in 35% of the allotted time.
aws.cloudfront.function_throttles_sum count How many times the function was throttled in a specific amount of time.