# Monitoring portfolio metrics

Portfolios are available starting in [*Enterprise Edition*](https://www.sonarsource.com/plans-and-pricing/enterprise/).

To view the values of all code metrics in your portfolio:

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

To view the value history of one or several code metrics in your portfolio:

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

2\. In the portfolio navigation bar, click **Activity**. The number of issues is shown in a graph.

3\. 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/abb5GbDSPFGcyW0M16cG/sonarqube-select-portfolio-metrics.png" alt="Selecting another metric category"><figcaption></figcaption></figure></div>

4\. 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. A graph is displayed for each selected metric so that you can compare them.

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