the duration needs to be twice that of period to fetch metrics
added DynamoDB examples