Amazon CloudFront is a web service that speeds up the distribution of static and dynamic web content
(such as .html, .css, .js, and image files).
CloudFront delivers content through a worldwide network of data centers called edge locations.
For example, when a user requests content that you’re serving with CloudFront, the user is routed to the edge location that provides the lowest latency (time delay). Edge locations help deliver content with the best possible performance.
Use the AWS public cloud integration to discover and collect metrics against the AWS service.
External reference
Setup
To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select AWS CloudFront
.
Event support
CloudTrail event support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.
Supported metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type |
---|---|---|---|
aws_cloudfront_Requests Number of requests for all HTTP methods and for both HTTP and HTTPS requests. | Requests | Count | Sum |
aws_cloudfront_BytesDownloaded Number of bytes downloaded by viewers for GET, HEAD, and OPTIONS requests. | BytesDownloaded | Bytes | Sum |
aws_cloudfront_BytesUploaded Number of bytes uploaded to your origin with CloudFront using POST and PUT requests. | BytesUploaded | Bytes | Sum |
aws_cloudfront_TotalErrorRate Percentage of all requests for which the HTTP status code is 4xx or 5xx. | TotalErrorRate | Count | Average |
aws_cloudfront_4xxErrorRate Percentage of all requests for which the HTTP status code is 4xx. | 4xxErrorRate | Count | Average |
aws_cloudfront_5xxErrorRate Percentage of all requests for which the HTTP status code is 5xx. | 5xxErrorRate | Count | Average |
cloud.instance.state Cloud front distribution status state metric | Status/State | n/a | n/a |
aws_cloudfront_401ErrorRate Percentage of all viewer requests for which the response HTTP status code is 401. | 401ErrorRate | Percent | Average |
aws_cloudfront_403ErrorRate Percentage of all viewer requests for which the response HTTP status code is 403. | 403ErrorRate | Percent | Average |
aws_cloudfront_404ErrorRate Percentage of all viewer requests for which the response HTTP status code is 404. | 404ErrorRate | Percent | Average |
aws_cloudfront_502ErrorRate Percentage of all viewer requests for which the response HTTP status code is 502. | 502ErrorRate | Percent | Average |
aws_cloudfront_503ErrorRate Percentage of all viewer requests for which the response HTTP status code is 503. | 503ErrorRate | Percent | Average |
aws_cloudfront_504ErrorRate Percentage of all viewer requests for which the response HTTP status code is 504. | 504ErrorRate | Percent | Average |
aws_cloudfront_CacheHitRate Percentage of all cacheable requests for which CloudFront served the content from its cache. HTTP POST requests, HTTP PUT requests, and errors are not considered cacheable requests. | CacheHitRate | Percent | Average |
aws_cloudfront_OriginLatency 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. | OriginLatency | Milliseconds | Average |