Amazon DynamoDB

Integration version1.0.0

DynamoDB default dashboard

Overview

Amazon DynamoDB is a fully managed NoSQL database cloud service, part of the AWS portfolio. Fast and easily scalable, it is meant to serve applications which require very low latency, even when dealing with large amounts of data. It supports both document and key-value store models, and has properties of both a database and a distributed hash table.

Setup

Installation

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

Metric collection

  1. In the AWS integration page, ensure that DynamoDB is enabled under the Metric Collection tab.

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

    • dynamodb:ListTables: Used to list available DynamoDB tables.
    • dynamodb:DescribeTable: Used to add metrics on a table size and item count.
    • dynamodb:ListTagsOfResource: Used to collect all tags on a DynamoDB resource.

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

  3. Install the Datadog - Amazon DynamoDB integration.

Log collection

Enable logging

In AWS CloudTrail, create a Trail and select an S3 bucket to write the logs in.

Send logs to Datadog

  1. If you haven’t already, set up the Datadog Forwarder Lambda function in your AWS account.
  2. Once set up, go to the Datadog Forwarder Lambda function. In the Function Overview section, click Add Trigger.
  3. Select the S3 trigger for the Trigger Configuration.
  4. Select the S3 bucket that contains your Amazon DynamoDB logs.
  5. Leave the event type as All object create events.
  6. Click Add to add the trigger to your Lambda.

Go to the Log Explorer to start exploring your logs.

For more information on collecting AWS Services logs, see Send AWS Services Logs with the Datadog Lambda Function.

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

Service Checks

The Amazon DynamoDB integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.