

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Amazon VPC Lattice の CloudWatch メトリクス
<a name="monitoring-cloudwatch"></a>

Amazon VPC Lattice は、ターゲットグループとサービスに関連するデータを Amazon CloudWatch に送信し、読み取り可能でほぼリアルタイムのメトリクスに加工します。これらのメトリクスは 15 か月間保持されるため、履歴情報にアクセスし、ウェブアプリケーションまたはサービスの動作をより的確に把握できます。また、特定のしきい値を監視するアラームを設定し、これらのしきい値に達したときに通知を送信したりアクションを実行したりできます。詳細については、「[Amazon CloudWatch ユーザーガイド](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html)」を参照してください。

Amazon VPC Lattice は、 AWS アカウントのサービスにリンクされたロールを使用して Amazon CloudWatch にメトリクスを送信します。詳細については、「[Amazon VPC Lattice のサービスにリンクされたロールの使用](using-service-linked-roles.md)」を参照してください。

**Topics**
+ [Amazon CloudWatch メトリクスを表示する](#monitoring-cloudwatch-view)
+ [ターゲットグループのメトリクス](#monitoring-cloudwatch-tg)
+ [サービスメトリクス](#monitoring-cloudwatch-service)

## Amazon CloudWatch メトリクスを表示する
<a name="monitoring-cloudwatch-view"></a>

Amazon CloudWatch コンソールまたは AWS CLIを使用して、ターゲットグループとサービスの Amazon CloudWatch メトリクスを表示できます。

**CloudWatch コンソールを使用してメトリクスを表示するには**

1. Amazon CloudWatch コンソール ([https://console.aws.amazon.com/cloudwatch/](https://console.aws.amazon.com/cloudwatch/)) を開きます。

1. ナビゲーションペインで [**Metrics (メトリクス)**] を選択してください。

1. `AWS/VpcLattice` 名前空間を選択します。

1. (オプション) すべてのディメンションでメトリクスを表示するには、検索フィールドに名称を入力します。

1. (オプション) ディメンション別に検索するには、次のいずれかを選択します。
   + ターゲットグループについて報告されたメトリクスのみを表示するには、**[ターゲットグループ]** を選択します。1 つのターゲットグループのメトリクスを表示するには、検索フィールドにその名前を入力します。
   + サービスについて報告されたメトリクスのみを表示するには、**[サービス]** を選択します。1 つのサービスのメトリクスを表示するには、検索フィールドにその名前を入力します。

**を使用してメトリクスを表示するには AWS CLI**

次の [CloudWatch list-metrics](https://docs.aws.amazon.com/cli/latest/reference/cloudwatch/list-metrics.html) AWS CLI コマンドを使用して、使用可能なメトリクスを一覧表示します。

`aws cloudwatch list-metrics --namespace AWS/VpcLattice`

各メトリクスとそのディメンションの詳細については、「[ターゲットグループのメトリクス](#monitoring-cloudwatch-tg)」と「[サービスメトリクス](#monitoring-cloudwatch-service)」を参照してください。

## ターゲットグループのメトリクス
<a name="monitoring-cloudwatch-tg"></a>

VPC Lattice は、ターゲットグループに関連するメトリクスを `AWS/VpcLattice` [Amazon CloudWatch](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace) 名前空間に自動的に保存します。ターゲットグループの詳細については、「[VPC Lattice のターゲットグループ](target-groups.md)」を参照してください。

**ディメンション**

ターゲットグループのメトリクスをフィルタリングするには、次のディメンションを使用します。
+ `AvailabilityZone`
+ `TargetGroup`


| メトリクス | 説明 | TargetGroup プロトコル | 
| --- | --- | --- | 
|  TotalConnectionCount  | 合計接続数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  ActiveConnectionCount  | アクティブな接続数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  ConnectionErrorCount  | 接続障害の合計。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  HTTP1\_ConnectionCount  | HTTP/1.1 接続の合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  HTTP2\_ConnectionCount  | HTTP/2 接続の合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  ConnectionTimeoutCount  | 接続タイムアウトの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  TotalReceivedConnectionBytes  | 受信した接続バイトの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  TotalSentConnectionBytes  | 送信された接続バイトの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  TotalRequestCount  | リクエストの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  ActiveRequestCount  | アクティブなリクエストの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  RequestTime  | ミリ秒単位の最後のバイトへのリクエスト時間。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  HTTPCode\_2XX\_Count, HTTPCode\_3XX\_Count, HTTPCode\_4XX\_Count, HTTPCode\_5XX\_Count  | HTTP レスポンスコードを集約します。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS  | 
|  TLSConnectionErrorCount  | 証明書検証の失敗を除く TLS 接続エラーの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 
|  TotalTLSConnectionHandshakeCount  | 成功した TLS 接続ハンドシェイクの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) |  HTTP, HTTPS, TCP  | 

## サービスメトリクス
<a name="monitoring-cloudwatch-service"></a>

VPC Lattice は、サービスに関連するメトリクスを `AWS/VpcLattice` [Amazon CloudWatch 名前空間](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Namespace)に自動的に保存します。サービスの詳細については、「[VPC Lattice のサービス](services.md)」を参照してください。

**ディメンション**

ターゲットグループのメトリクスをフィルタリングするには、次のディメンションを使用します。
+ `AvailabilityZone`
+ `Service`


| メトリクス | 説明 | 
| --- | --- | 
|  RequestTimeoutCount  | レスポンスを待っている間にタイムアウトになったリクエストの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) | 
|  TotalRequestCount  | リクエストの合計数。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) | 
|  RequestTime  | ミリ秒単位のリクエスト時間。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) | 
|  HTTPCode\_2XX\_Count, HTTPCode\_3XX\_Count, HTTPCode\_4XX\_Count, HTTPCode\_5XX\_Count  | HTTP レスポンスコードを集約します。[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html)[See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/vpc-lattice/latest/ug/monitoring-cloudwatch.html) | 