Contributor Insights

Amazon CloudWatch Contributor Insights for Amazon DynamoDB is a diagnostic tool for identifying the most frequently accessed and throttled keys in your table or index at a glance. This tool uses CloudWatch Contributor Insights. By enabling CloudWatch Contributor Insights for DynamoDB on a table or global secondary index, you can view the most accessed and throttled items in those resources.

DynamoDB Contributor Insights

Enable Contributor Insights on DynamoDB table created as part of PetAdoptions application

Setup Cloud9 in case you did not do that already

  1. From your Cloud9 terminal, execute the following commands:

This command enables Contributor Insights on the DynamoDB table.

DDB_CONTRIB=$(aws ssm get-parameter --name '/petstore/dynamodbtablename' | jq .Parameter.Value -r)
aws dynamodb update-contributor-insights --table-name $DDB_CONTRIB --contributor-insights-action ENABLE  
  1. Wait a few minutes, then navigate to CloudWatch Contributor Insights.
  2. Check the first DynamoDBContributorInsights rule in the column on the left.

You should see a screen that is similar to the ones below.

This report shows a Top ‘N’ report based on Partition Keys in the DynamoDB table.

Contributor Home

Here is another Top ‘N’ report based on a combination of Partition and Sort Key values.

Contributor Home

This concludes this section. You may continue on to the next section.