For the complete documentation index, see llms.txt. This page is also available as Markdown.

Monitoring metrics

SonarQube offers various tools to monitor and compare code metrics for your project, application and portfolio.

You can view the values of all code metrics in your project, application or portfolio, as well as the value history of one or several code metrics in your project. Portfolios are available starting in Enterprise Edition.

Viewing the values of all code metrics

Retrieving the measures page
  1. Retrieve your project, application or portfolio.

  2. Go to Measures.

Viewing the value history of one or several metrics

  1. Retrieve your project, application or portfolio.

  2. Go to Activity.

  3. The left sidebar contains the list of code scans or snapshots.

  4. In Events filter, you can filter the scan results by event type. See Event types in Viewing project activity for more information.

  5. Use the Date range filter to narrow down the results to a specific date range.

  6. Select the Graph type: Issues (default), Coverage, Duplications, Custom.

    1. Select Custom if you want to monitor other metrics.

    2. Click Add metric and select from the drop-down list the metrics you want to monitor. The selected metrics are displayed in one or several graphs so that you can compare them.

    3. Hover over the graph to display the tool tip with additional information.

Last updated

Was this helpful?