Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Monitoring CodeGuru Reviewer with Amazon CloudWatch

Focus mode
Monitoring CodeGuru Reviewer with Amazon CloudWatch - Amazon CodeGuru Reviewer

You can use Amazon CloudWatch to monitor the number of recommendations created for your source code in an associated repository over time.

The recommendations are available for three dimensions:

  • ProviderType – View the number of recommendations for a provider type. You can view the count of recommendations in all repositories in AWS CodeCommit, your Bitbucket account, your GitHub account, or your GitHub Enterprise Server account, over a period of time.

  • CodeReviewType – View the number of recommendations for a code review type. The one available code review type is PullRequest. Use it to view the count of recommendations in one pull request.

  • RepositoryName – View the count of recommendations for one repository over a period of time.

You can set a CloudWatch alarm that notifies you when the number of recommendations exceeds a threshold you set.

For more information about creating and using CloudWatch alarms and metrics, see Using Amazon CloudWatch alarms.

You can track the following metric for each dimension over a period of time.

Metric

Description

RecommendationsPublishedCount

The number of recommendations over a period of time per ProviderType, CodeReviewType, or RepositoryName for completed code reviews.

Units: Count

Valid CloudWatch statistic: Count

Valid CloudWatch period: 1 hour

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.