# Source: https://docs.sonarsource.com/sonarqube-community-build/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.6/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.7/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/10.8/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.2/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.3/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.5/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.1/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.4/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/2025.6/user-guide/code-metrics/monitoring-project-metrics.md

# Source: https://docs.sonarsource.com/sonarqube-server/user-guide/code-metrics/monitoring-project-metrics.md

# Monitoring project metrics

You can view the values of all code metrics in your project and you can view the value history of one or several code metrics in your project.

### Viewing the values of all code metrics <a href="#all-metrics" id="all-metrics"></a>

1. In the top navigation bar, click **Projects** and then click the project you want to monitor.
2. In the project navigation bar, click **Measures**.

### Viewing the value history of one or several metrics <a href="#value-history" id="value-history"></a>

1\. In the top navigation bar, click **Projects** and then click the project you want to monitor.

2\. In the project navigation bar, select **Activity**. The left sidebar contains the list of code scans performed on your project.

3\. In **Filter events**, you can filter the scans list by event type. See **Event types** in [activity-and-history](https://docs.sonarsource.com/sonarqube-server/user-guide/viewing-projects/activity-and-history "mention") for more information.

4\. Issues are shown in the graph by default. To change the metrics shown, click **Issues** and select another metric category in the drop-down list.

<div align="left"><figure><img src="https://content.gitbook.com/content/LWhbesChsC4Yd1BbhHhS/blobs/Pl6AeioFC7YSBVVYcBey/sonarqube-select-metrics.png" alt="Selecting another metric category in SonarQube." width="356"><figcaption></figcaption></figure></div>

5\. Select **Custom** if you want to monitor other metrics: the **Add metric** drop-down list is displayed. Then, click **Add metric** and select in the drop-down list the metric(s) you want to monitor. The selected metrics are displayed in one or several graphs so that you can compare them.

<div align="left"><figure><img src="https://content.gitbook.com/content/LWhbesChsC4Yd1BbhHhS/blobs/zPoL27Y9cbJJKtpBVDEX/sonarqube-code-metrics-monitoring.png" alt="Adding custom metrics to the SonarQube graph." width="375"><figcaption></figcaption></figure></div>