Amazon CloudFront is a content delivery network (CDN) service built for high performance, security, and developer convenience.

Cisco Cloud Observability supports monitoring the following Amazon CloudFront entities:

  • Distribution: A link between an origin server (such as an Amazon S3 bucket) and a domain name, which CloudFront automatically assigns. A distribution defines where you want content to be delivered from and the details about how to track and manage content delivery.
  • Function: The code that you write and attach to your CloudFront distribution. A function is used to customize how your CloudFront distributions process HTTP requests and responses.

    Cisco Cloud Observability does not monitor function entities that have not been published.

You must configure cloud connections to monitor this entity. See Set up Cisco AppDynamics Cloud Collectors to Monitor AWS.

Cisco Cloud Observability displays AWS entities on the Observe page. Metrics are displayed for specific entity instances in the list and detail views.

This document contains references to third-party documentation. Cisco AppDynamics does not own any rights and assumes no responsibility for the accuracy or completeness of such third-party documentation.

Detail View

To display the detail view for an Amazon CloudFront instance:

  1. Navigate to the Observe page. 
  2. Under Networking & App Delivery, click AWS CloudFront Distributions.
    The list view now displays.
  3. From the list, click an instance ID to display the detail view.
    The detail view displays the metrics, key performance indicators, and properties (attributes) related to the instance you selected.
  1. Navigate to the Observe page. 
  2. Under Networking & App Delivery, click AWS CloudFront Functions.
    The list view now displays.
  3. From the list, click an instance Name to display the detail view.
    The detail view displays the metrics, key performance indicators, and properties (attributes) related to the instance you selected.

Metrics and Key Performance Indicators

Cisco Cloud Observability displays the following metrics and key performance indicators (KPIs) for Amazon CloudFront. See Getting metrics using the CloudWatch API

Display NameSource Metric NameDescription
Error Rate (%)

4xxErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 4xx.
5xxErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 5xx.
Detailed Error Rate (%)





401ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 401.
403ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 403.
404ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 404.
502ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 502.
503ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 503.
504ErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 504.
Total Error Rate (%)


TotalErrorRateThe percentage of all viewer requests for which the response's HTTP status code is 4xx or 5xx.
Bytes
BytesDownloadedThe total number of bytes downloaded by viewers for GETHEAD, and OPTIONS requests.
BytesUploadedThe total number of bytes that viewers uploaded to your origin with CloudFront, using POST and PUT requests.
Cache Hit Rate (%)CacheHitRate

The percentage of all cacheable requests for which CloudFront served the content from its cache.

HTTP POST and PUT requests, and errors, are not considered cacheable requests.

Origin Latency (ms)OriginLatencyThe total time spent, in milliseconds, from when CloudFront receives a request to when it starts providing a response to the network (not the viewer), for requests that are served from the origin, not the CloudFront cache. This is also known as first byte latency, or time-to-first-byte.
Requests (Count)RequestsThe total number of viewer requests received by CloudFront, for all HTTP methods and for both HTTP and HTTPS requests.
Display NameSource Metric NameDescription
Invocations (Count)FunctionInvocationsThe number of times the function was started (invoked) in a given time period.
Errors (Count)

FunctionValidationErrors

The number of validation errors produced by the function in a given time period. Validation errors occur when the function runs successfully but returns invalid data (an invalid event object).

FunctionExecutionErrorsThe number of execution errors that occurred in a given time period. Execution errors occur when the function fails to complete successfully.
Compute Utilization (%)FunctionComputeUtilizationThe amount of time (0-100) that the function took to run as a percentage of the maximum allowed time. For example, a value of 35 means that the function completed in 35% of the maximum allowed time.


Properties (Attributes)

Cisco Cloud Observability displays the following properties for Amazon CloudFront.

Display NameProperty NameDescription
Idcloud.cdn.idA unique identifier for the origin. This value must be unique within the distribution.
Arnaws.cloudfront_distribution.arnThe ARN (Amazon Resource Name) for the distribution.
Statusaws.cloudfront_distribution.statusThe current status of the distribution. Eg: Deployed and InProgress. When the status is Deployed, the distribution’s information is propagated to all CloudFront edge locations.
Last Modified Timeaws.cloudfront_distribution.last_modified_timeThe date and time the distribution was last modified.
Domain Nameaws.cloudfront_distribution.domain_nameThe domain name that corresponds to the distribution.
Descriptionaws.cloudfront_distribution.commentThe comment originally specified when this distribution was created.
Price Classaws.cloudfront_distribution.price_classA complex type that contains information about price class for this streaming distribution.
Enabledaws.cloudfront_distribution.enabledWhether the distribution is enabled to accept user requests for content.
Http Versionaws.cloudfront_distribution.http_versionSpecify the maximum HTTP version that you want viewers to use to communicate with CloudFront.
Ipv6 Enabledaws.cloudfront_distribution.ipv6_enabledWhether CloudFront responds to IPv6 DNS requests with an IPv6 address for your distribution.

Staging

aws.cloudfront_distribution.stagingWhether the primary distribution has a staging distribution enabled.
Account Idcloud.account.idThe cloud account ID the resource is assigned to.
Regioncloud.regionThe geographical region the resource is running.
Display NameProperty NameDescription
Nameaws.cloudfront_function.nameThe name of the CloudFront function.
Arnaws.cloudfront_function.arnThe Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.
Cloud Account Idcloud.account.idThe cloud account ID the resource is assigned to.
Cloud Regioncloud.regionThe geographical region the resource is running.
Runtime(Stage LIVE)aws.cloudfront_function.runtimeThe function’s runtime environment version.
Stageaws.cloudfront_function.stageThe stage that the function is in. Either DEVELOPMENT or LIVE.
Created Time(Stage LIVE)aws.cloudfront_function.created_timeThe date and time when the function was created.
Last Modified Time(Stage LIVE)aws.cloudfront_function.last_modified_timeThe date and time when the function was most recently updated.

Retention and Purge Time-To-Live (TTL)

For all cloud and infrastructure entities, the retention TTL is 180 minutes (3 hours) and the purge TTL is 525,600 minutes (365 days). 

Amazon Web Services, the AWS logo, AWS, and any other AWS Marks used in these materials are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.