In this lab, we will complete a system to track CodeCommit commit metadata in the same table it is being logged to.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Examine the `PrometheusMeta` DynamoDB Table
The
PrometheusMeta
table should begin to have records written to it shortly after starting the lab. Once some data has arrived in the table, examine the attributes to plan how to satisfy the provided metadata requirements.- Modify the `PrometheusMetaStreamProcessor` Lambda Function
Make the necessary changes to the
PrometheusMetaStreamProcessor
Lambda function to process the DynamoDB Stream records and update thePrometheusMeta
DynamoDB table appropriately.- Enable the DynamoDB Stream Trigger
In the Lambda interface for the
PrometheusMetaStreamProcessor
function, select the DynamoDB Stream trigger and change the disabled/enabled toggle to Enabled. Save your changes.- Verify Metadata Record Creation
Return to the DynamoDB web console and verify that metadata records are being generated as expected (this may take a couple minutes).