Monitoring the code metrics of your portfolio
Portfolios are available starting in Enterprise Edition.
To view the values of all code metrics in your portfolio:
- In the top navigation bar, click Portfolios and then click the portfolio you want to monitor.
- 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.
![](https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/c01224cf-72c6-476b-80c4-5c746099e515/sonarqube-select-portfolio-metrics_Qs0061.png?w=733&h=294&auto=format&fit=crop)
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.
![](https://assets-eu-01.kc-usercontent.com:443/5e986e54-339c-01a9-7c7c-26cbc5a344d5/5743394d-8c78-4c38-bd07-868b40986d30/sonarqube-code-metrics-monitoring_Qs0059.png?w=664&h=614&auto=format&fit=crop)
Was this page helpful?