

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

# Amazon CloudWatch によるオペレーションメトリクスの測定
<a name="monitoring-cloudwatch"></a>

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

Amazon Lex V2 サービスは、`AWS/Lex` 名前空間の以下のメトリクスをレポートします。


| メトリクス | 説明 | 
| --- | --- | 
|  `AssistedSlotResolutionModelAccessDeniedErrorCount`  |  Amazon Lex V2 が Amazon Bedrock へのアクセスを拒否された回数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) `RecognizeText` の有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `AssistedSlotResolutionModelInvocationCount`  |  Amazon Bedrock が呼び出された回数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) `RecognizeText` の有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `AssistedSlotResolutionModelSystemErrorCount`  |  Amazon Bedrock を呼び出したときに 5xx が発生した回数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) `RecognizeText` の有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `AssistedSlotResolutionModelThrottlingErrorCount`  |  Amazon Lex が Amazon Bedrock によってスロットリングされた回数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) `RecognizeText` の有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `AssistedSlotResolutionResolvedSlotCount`  |  Amazon Bedrock がスロット値を返した回数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) `RecognizeText` の有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `KendraIndexAccessError`  |  Amazon Lex V2 がお客様の Amazon Kendra インデックスにアクセスできなかった回数。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `KendraLatency`  |  `AMAZON.KendraSearchIntent` からのリクエストに Amazon Kendra が応答する所要時間。 有効なディメンション:  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: ミリ秒  | 
|  `KendraSuccess`  |  Amazon Lex V2 がお客様の Amazon Kendra インデックスにアクセスできなかった回数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `KendraSystemErrors`  |  Amazon Lex V2 が Amazon Kendra インデックスをクエリできなかった回数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `KendraThrottledEvents`  |  Amazon Kendra が `AMAZON.KendraSearchIntent` からの リクエストをスロットルした回数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeConcurrency`  |  指定期間中の同時接続の数。`RuntimeConcurrency` は `StatisticSet` として報告されます。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeInvalidLambdaResponses`  |  指定された期間の無効な AWS Lambda レスポンスの数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeLambdaErrors`  |  指定期間中の Lambda ランタイムエラーの数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimePollyErrors`  |  指定期間中の無効な Amazon Polly レスポンスの数。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeRequestCount`  |  指定期間中のランタイムリクエストの数。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
| `RuntimeRequestLength` | Amazon Lex V2 ボットとの会話の合計の長さ。[StartConversation](https://docs.aws.amazon.com/lexv2/latest/APIReference/API_runtime_StartConversation.html) オペレーションにのみ適用されます。 有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: ミリ秒 | 
|  `RuntimeSucessfulRequestLatency`  このメトリクスは `RuntimeSucessfulRequestLatency` で、`RuntimeSuccessfulRequestLatency` ではありません。   |  リクエストが成功してから、レスポンスが返されるまでのレイテンシー。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: ミリ秒  | 
|  `RuntimeSystemErrors`  |  指定期間中のシステムエラーの数。システムエラーのレスポンスコード範囲は 500〜599 です。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeThrottledEvents`  |  スロットルされたイベントの数。Amazon Lex V2 は、1 秒あたりに受け取るトランザクションの数がアカウントに設定された制限数を超えると、リクエストをスロットルします。アカウントに設定された制限を頻繁に超える場合は、制限の引き上げをリクエストできます。引き上げをリクエストするには、「[AWS のサービス制限](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html)」を参照してください。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 
|  `RuntimeUserErrors`  |  指定期間中のユーザーエラーの数。ユーザーエラーのレスポンスコード範囲は 400〜499 です。 `RecognizeUtterance` または `StartConversation` オペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 他のオペレーションの有効なディメンション: [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ja_jp/lexv2/latest/dg/monitoring-cloudwatch.html) 単位: 数  | 

Amazon Lex V2 メトリクスでサポートされるディメンションは以下のとおりです。


|  ディメンション  |  説明  | 
| --- | --- | 
|  Operation  |  Amazon Lex V2 オペレーションの名前 — `RecognizeText`、`RecognizeUtterance`、`StartConversation`、`GetSession`、`PutSession`、`DeleteSession` — エントリを生成しました。  | 
|  BotId  |  ボットの一意の英数字識別子。  | 
|  BotAliasId  |  ボットエイリアスの一意の英数字識別子。  | 
|  BotVersion  |  ボットの数値バージョン。  | 
|  InputMode  |  ボットへの入力のタイプ (スピーチ、テキスト、または DTMF)。  | 
|  LocaleId  |  en-US や fr-CA など、ボットのロケールの識別子。  | 
|  Model  |  Amazon Bedrock の大規模言語モデルのモデル ID を示します。  | 
|  ModelType  |  Amazon Bedrock から呼び出す大規模言語モデルのタイプを示します。  | 