# Monitoring project metrics

You can view the values of all [metrics-definition](https://docs.sonarsource.com/sonarqube-server/10.7/user-guide/code-metrics/metrics-definition "mention") 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/10.7/user-guide/viewing-projects/activity-and-history "mention")).

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.

![](https://3272878703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI10pmJWeVVXYITlQJllp%2Fuploads%2Fgit-blob-537cb5b7339f5b87136b30bca08b59b39375999e%2F9482d2e5062b312b7d1a142886831bda10738508.png?alt=media)

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.

![](https://3272878703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI10pmJWeVVXYITlQJllp%2Fuploads%2Fgit-blob-927ec1f7dc9bd81ffcb62b518b7573eaf663118f%2F3928392b6733f867d5c1c35c54be5a67b84df39b.png?alt=media)
