
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
In the AWS integration page, ensure that DynamoDB
is enabled under the Metric Collection
tab.
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.
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
- If you haven’t already, set up the Datadog Forwarder Lambda function in your AWS account.
- Once set up, go to the Datadog Forwarder Lambda function. In the Function Overview section, click Add Trigger.
- Select the S3 trigger for the Trigger Configuration.
- Select the S3 bucket that contains your Amazon DynamoDB logs.
- Leave the event type as
All object create events
. - 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.