Amazon Rekognition

Overview

Amazon Rekognition makes it easy to add image and video analysis to your applications. You just provide an image or video to the Rekognition API, and the service can identify objects, people, text, scenes, and activities.

Enable this integration to see all your Rekognition 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 Rekognition is enabled under the Metric Collection tab.
  2. Install the Datadog - Amazon Rekognition integration.

Log collection

Enable logging

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

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

Data Collected

Metrics

aws.rekognition.deteceted_label_count
(count)
The average number of labels detected with the DetectLabels operation.
aws.rekognition.deteceted_label_count.sum
(count)
The sum of the number of labels detected with the DetectLabels operation.
aws.rekognition.detected_face_count
(count)
The average number of faces detected with the IndexFaces or DetectFaces operation.
aws.rekognition.detected_face_count.sum
(count)
The sum of the number of faces detected with the IndexFaces or DetectFaces operation.
aws.rekognition.response_time
(count)
The time in milliseconds for Rekognition to compute the response.
Shown as millisecond
aws.rekognition.response_time.data_samples
(count)
The time in milliseconds for Rekognition to compute the response.
aws.rekognition.server_error_count
(count)
The number of server errors.
aws.rekognition.server_error_count.sum
(count)
The sum of the number of server errors.
aws.rekognition.successful_request_count
(count)
The average number of successful requests.
aws.rekognition.successful_request_count.sum
(count)
The sum of the number of successful requests.
aws.rekognition.throttled_count
(count)
The average number of throttled requests. Rekognition throttles a request when it receives more requests than the limit of transactions per second set for your account.
aws.rekognition.throttled_count.sum
(count)
The sum of the number of throttled requests. Rekognition throttles a request when it receives more requests than the limit of transactions per second set for your account.
aws.rekognition.user_error_count
(count)
The average number of user errors (invalid parameters - invalid image - no permission etc).
aws.rekognition.user_error_count.sum
(count)
The sum of the number of user errors (invalid parameters - invalid image - no permission etc).

Events

The Amazon Rekognition integration does not include any events.

Service Checks

The Amazon Rekognition integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.