Amazon Polly

Overview

Amazon Polly is a service that turns text into lifelike speech.

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

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 Polly is enabled under the Metric Collection tab.
  2. Install the Datadog - Amazon Polly integration.

Log collection

Enable logging

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

Note: If you log to a S3 bucket, make sure that amazon_polly 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 Polly logs in the AWS console:

Data Collected

Metrics

aws.polly.2xx_count
(count)
Total number of HTTP 200 level code returned upon a successful response.
Shown as response
aws.polly.4xx_count
(count)
Total number of HTTP 400 level code returned upon a successful response. For each successful response, a zero (0) is emitted.
Shown as response
aws.polly.5xx_count
(count)
Total number of HTTP 500 level code returned upon a successful response. For each successful response, a zero (0) is emitted.
Shown as response
aws.polly.request_characters
(gauge)
The average number of characters in the request. This is billable characters only and does not include SSML tags.
aws.polly.request_characters.maximum
(gauge)
The maximum number of characters in the request. This is billable characters only and does not include SSML tags.
aws.polly.request_characters.minimum
(gauge)
The minimum number of characters in the request. This is billable characters only and does not include SSML tags.
aws.polly.request_characters.sum
(count)
The total number of characters in the request. This is billable characters only and does not include SSML tags.
aws.polly.response_latency
(gauge)
The average latency between when the request was made and the start of the streaming response.
Shown as millisecond
aws.polly.response_latency.maximum
(gauge)
The minimum latency between when the request was made and the start of the streaming response.
Shown as millisecond
aws.polly.response_latency.minimum
(gauge)
The minimum latency between when the request was made and the start of the streaming response.
Shown as millisecond
aws.polly.response_latency.samplecount
(count)
The total number of successful responses
Shown as response
aws.polly.response_latency.sum
(count)
The sum of the latency between when the request was made and the start of the streaming response.
Shown as millisecond

Each of the metrics retrieved from AWS are assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

Events

The Amazon Polly integration does not include any events.

Service Checks

The Amazon Polly integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

PREVIEWING: rtrieu/product-analytics-ui-changes