Please tell me how to measure the latency of CloudFront and Lambda@Edge using AWS X-Ray

Please tell me how to measure the latency of CloudFront and Lambda@Edge using AWS X-Ray

2024.11.27

この記事は公開されてから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

AWS official documentation

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.

2024-11-27_08h36_45

References


AWSテクニカルサポートノートについて

過去にクラスメソッドのAWS総合支援サービスで頂いたお問合せの中から、通常のAWS利用時でも有益になりうる情報をテクニカルサポートチームがTIPSとしてご紹介しています。技術サポートは、無料でご提供しております。詳細は下記ボタンからご覧ください。

クラスメソッドのAWSサポートの詳細を見る

この記事をシェアする

AWSのお困り事はクラスメソッドへ

関連記事