AWS Integration - CloudFront

Mackerel supports obtaining and monitoring Amazon CloudFront metrics in AWS Integration. When integrating with AWS Integration, billable targets are determined using the conversion 1 Distribution = 1 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 CloudFront support are as follows. For Metric explanations, refer to the AWS help page.
Monitoring CloudFront with Amazon CloudWatch
Monitoring CloudFront Functions

The maximum number of metrics obtainable is 14 + 6 × (number of functions associated with distributions).

Graph name Metric Metric name in Mackerel Unit Statistics
Requests Requests cloudfront.requests.request integer Sum
Transfer BytesDownloaded
BytesUploaded
cloudfront.transfer.download
cloudfront.transfer.upload
bytes Sum
ErrorRate TotalErrorRate
4xxErrorRate
5xxErrorRate
401ErrorRate *
403ErrorRate *
404ErrorRate *
502ErrorRate *
503ErrorRate *
504ErrorRate *
cloudfront.error_rate.total_error_rate
cloudfront.error_rate.4xx_error_rate
cloudfront.error_rate.5xx_error_rate
cloudfront.error_rate.401_error_rate
cloudfront.error_rate.403_error_rate
cloudfront.error_rate.404_error_rate
cloudfront.error_rate.502_error_rate
cloudfront.error_rate.503_error_rate
cloudfront.error_rate.504_error_rate
float Average
CacheHitRate CacheHitRate * cloudfront.cache_hit_rate float Average
OriginLatency OriginLatency * cloudfront.origin_latency float Minimum
Average
Maximum

* Additional metrics

In order to obtain these metrics, additional metrics must be enabled.

CloudFront Functions metrics

Graph name Metric Metric name in Mackerel Unit Statistics
Function Invocations FunctionInvocations cloudfront.function_invocations.FUNCTION_NAME integer Sum
Function Validation Errors FunctionValidationErrors cloudfront.function_validation_errors.FUNCTION_NAME integer Sum
Function Execution Errors FunctionExecutionErrors cloudfront.function_execution_errors.FUNCTION_NAME integer Sum
Function Compute Utilization FunctionComputeUtilization cloudfront.function_compute_utilization.FUNCTION_NAME.minimum
cloudfront.function_compute_utilization.FUNCTION_NAME.average
cloudfront.function_compute_utilization.FUNCTION_NAME.maximum
percentage Minimum
Average
Maximum
  • The following items in "Metric name in Mackerel" are set as follows.
    • FUNCTION_NAME: The function name of CloudFront Functions

Precautions

Since CloudFront is a global service, integration with CloudFront is possible regardless of the region selected.