Amazon Lex

Overview

Amazon Lex is a service for building conversational interfaces into applications using voice and text.

Enable this integration to see all your Lex metrics in Datadog.

Setup

Installation

If you haven’t already, set up the Amazon Web Services integration first.

Metric collection

  1. In the AWS integration page, ensure that Lex is enabled under the Metric Collection tab.
  2. Install the Datadog - Amazon Lex integration.

Log collection

Enable logging

Configure Amazon Lex to send logs either to a S3 bucket or to CloudWatch.

Note: If you log to a S3 bucket, make sure that amazon_lex is set as Target prefix.

Send logs to Datadog

  1. If you haven’t already, set up the Datadog Forwarder Lambda function.

  2. Once the Lambda function is installed, manually add a trigger on the S3 bucket or CloudWatch log group that contains your Amazon Lex logs in the AWS console:

Data Collected

Metrics

aws.lex.missed_utterance_count.post_content
(count)
The number of utterances that were not recognized in the specified period.
aws.lex.missed_utterance_count.post_text
(count)
The number of utterances that were not recognized in the specified period.
aws.lex.runtime_invalid_lambda_responses.post_content
(count)
The number of invalid Lambda responses in the specified period.
aws.lex.runtime_invalid_lambda_responses.post_text
(count)
The number of invalid Lambda responses in the specified period.
aws.lex.runtime_lambda_errors.post_content
(count)
The number of AWS Lambda runtime errors in the specified period.
aws.lex.runtime_lambda_errors.post_text
(count)
The number of AWS Lambda runtime errors in the specified period.
aws.lex.runtime_polly_errors.post_content
(count)
The number of invalid Amazon Polly responses in the specified period.
aws.lex.runtime_polly_errors.post_text
(count)
The number of invalid Amazon Polly responses in the specified period.
aws.lex.runtime_request_count.post_content
(count)
The number of runtime requests in the specified period.
aws.lex.runtime_request_count.post_text
(count)
The number of runtime requests in the specified period.
aws.lex.runtime_successful_request_latency.post_content
(count)
The latency for successful requests between the time that the request was made and the response was passed back.
aws.lex.runtime_successful_request_latency.post_text
(count)
The latency for successful requests between the time that the request was made and the response was passed back.
aws.lex.runtime_system_errors.post_content
(count)
The number of system errors in the specified period.
aws.lex.runtime_system_errors.post_text
(count)
The number of system errors in the specified period.
aws.lex.runtime_throttled_events.post_content
(count)
The number of throttled requests. Amazon Lex throttles a request when it receives more requests than the limit of transactions per second set for your account.
aws.lex.runtime_throttled_events.post_text
(count)
The number of throttled requests. Amazon Lex throttles a request when it receives more requests than the limit of transactions per second set for your account.
aws.lex.runtime_user_errors.post_content
(count)
The number of user errors in the specified period.
aws.lex.runtime_user_errors.post_text
(count)
The number of user errors in the specified period.

Events

The Amazon Lex integration does not include any events.

Service Checks

The Amazon Lex integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.