Amazon SQS

Integration version1.0.0

SQS Dashboard

Overview

Amazon Simple Queue Service (SQS) is a fast, reliable, scalable, fully managed message queuing service.

Enable this integration to see all your SQS 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 SQS is enabled under the Metric Collection tab.

  2. Add these permissions to your Datadog IAM policy in order to collect Amazon SQS metrics:

    • sqs:ListQueues: Used to list alive queues.
    • tag:GetResources: Get custom tags applied to SQS queues.

    For more information, see the SQS policies on the AWS website.

  3. Install the Datadog - Amazon SQS integration.

Log collection

Enable SQS logging

See Logging Amazon SQS API Calls Using AWS CloudTrail to configure your trail. When you define your trails, select a S3 bucket to write the logs in:

CloudTrail logging

Send logs to Datadog

  1. If you haven’t already, set up the Datadog log collection AWS Lambda function.
  2. Once the lambda function is installed, manually add a trigger on the S3 bucket that contains your Amazon SQS logs in the AWS console. In your Lambda, click on S3 in the trigger list: S3 trigger configuration Configure your trigger by choosing the S3 bucket that contains your Amazon SQS logs and change the event type to Object Created (All) then click on the add button. S3 Lambda trigger configuration

Once the trigger has been added, use the Datadog Log Explorer to view your logs.

Data Collected

Metrics

See metric-spec.yaml for a list of metrics provided by this integration.

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 SQS integration does not include any events.

Service Checks

The Amazon SQS integration does not include any service checks.

Out-of-the-box monitoring

The Amazon SQS integration provides ready-to-use monitoring capabilities to monitor and optimize performance.

Troubleshooting

Need help? Contact Datadog support.