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.assisted_slot_resolution_model_access_denied_error_count
(count)
The number of times that Amazon Lex V2 was denied access to Amazon Bedrock.
Shown as error
aws.lex.assisted_slot_resolution_model_invocation_count
(count)
The number of times that Amazon Bedrock was invoked.
Shown as invocation
aws.lex.assisted_slot_resolution_model_system_error_count
(count)
The number of times that a 5xx occurred when calling Amazon Bedrock.
Shown as error
aws.lex.assisted_slot_resolution_model_throttling_error_count
(count)
The number of times that Amazon Lex was throttled by Amazon Bedrock.
Shown as throttle
aws.lex.assisted_slot_resolution_resolved_slot_count
(count)
The number of times that Amazon Bedrock returned a slot value.
Shown as event
aws.lex.bot_channel_auth_errors
(count)
The number of authentication errors returned by the messaging channel in the specified time period.
Shown as error
aws.lex.bot_channel_configuration_errors
(count)
The number of configuration errors in the specified period.
Shown as error
aws.lex.bot_channel_inbound_throttled_events
(count)
The number of times that messages that were sent by the messaging channel were throttled by Amazon Lex in the specified period.
Shown as throttle
aws.lex.bot_channel_outbound_throttled_events
(count)
The number of times that outbound events from Amazon Lex to the messaging channel were throttled in the specified time period.
Shown as throttle
aws.lex.bot_channel_request_count
(count)
The number of requests made on a channel in the specified time period.
Shown as request
aws.lex.bot_channel_response_card_errors
(count)
The number of times that Amazon Lex could not post response cards in the specified period.
Shown as error
aws.lex.bot_channel_system_errors
(count)
The number of internal errors that occurred in Amazon Lex for a channel in the specified period.
Shown as error
aws.lex.conversation_logs_audio_delivery_failure
(count)
The number of audio logs that failed to be delivered to the S3 bucket in the specified time period.
Shown as event
aws.lex.conversation_logs_audio_delivery_success
(count)
The number of audio logs successfully delivered to the S3 bucket in the specified time period.
Shown as event
aws.lex.conversation_logs_text_delivery_failure
(count)
The number of text logs that failed to be delivered to CloudWatch Logs in the specified time period.
Shown as event
aws.lex.conversation_logs_text_delivery_success
(count)
The number of text logs successfully delivered to CloudWatch Logs in the specified time period.
Shown as event
aws.lex.missed_utterance_count
(count)
The number of utterances that were not recognized in the specified period.
Shown as event
aws.lex.runtime_concurrency
(gauge)
The number of concurrent connections in the specified time period.
Shown as connection
aws.lex.runtime_invalid_lambda_responses
(count)
The number of invalid AWS Lambda responses in the specified period.
Shown as response
aws.lex.runtime_kendra_index_access_error
(count)
The number of times that Amazon Lex V2 could not access your Amazon Kendra index.
Shown as error
aws.lex.runtime_kendra_latency
(gauge)
The amount of time that it takes Amazon Kendra to respond to a request from the AMAZON.KendraSearchIntent.
Shown as millisecond
aws.lex.runtime_kendra_success
(count)
The number of successful requests from the AMAZON.KendraSearchIntent to your Amazon Kendra index.
Shown as request
aws.lex.runtime_kendra_system_errors
(count)
The number of times that Amazon Lex V2 couldn't query the Amazon Kendra index.
Shown as error
aws.lex.runtime_kendra_throttled_events
(count)
The number of times Amazon Kendra throttled requests from the AMAZON.KendraSearchIntent.
Shown as throttle
aws.lex.runtime_lambda_errors
(count)
The number of AWS Lambda runtime errors in the specified time period.
Shown as error
aws.lex.runtime_polly_errors
(count)
The number of invalid Amazon Polly responses in the specified time period.
Shown as error
aws.lex.runtime_request_count
(count)
The number of runtime requests in the specified time period.
Shown as request
aws.lex.runtime_request_length
(gauge)
Total length of a conversation with a Amazon Lex V2 bot. Only applicable to the StartConversation operation.
Shown as millisecond
aws.lex.runtime_successful_request_latency
(gauge)
The latency for successful requests between the time the request was made and the response was passed back.
Shown as millisecond
aws.lex.runtime_system_errors
(count)
The number of system errors in the specified period.
Shown as error
aws.lex.runtime_throttled_events
(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.
Shown as throttle
aws.lex.runtime_user_errors
(count)
The number of user errors in the specified period.
Shown as error

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.

PREVIEWING: aliciascott/DOCS-9725-Cloudcraft