Please tell me how to measure the latency of CloudFront and Lambda@Edge using AWS X-Ray
この記事は公開されてから1年以上経過しています。情報が古い可能性がありますので、ご注意ください。
The issue
I am considering measuring the latency of a global serverless application.
Please tell me how to measure the latency of CloudFront and Lambda@Edge using AWS X-Ray.
The solution
As of May 2022, CloudFront and Lambda@Edge are not included in the list of services integrated with AWS X-Ray, so it is not possible to measure latency using AWS X-Ray
The following Lambda features are not supported by Lambda@Edge:
- Using AWS X-Ray
As an alternative, please consider measuring using the following metrics.
You can check the metrics for Lambda@Edge from the CloudFront console by going to 'Monitoring' → 'Lambda@Edge' → selecting the target Lambda@Edge function name.







