Dashboard support for highest cyclomatic complexity in the entire project

In medical device SW, Cyclomatic complexity is well monitored metric at the project level. I would like to include this metric in the project dashboard. Unfortunately, I am not able to find this in dashboard builder.

The metric I am interested is the one flagged by the rule cpp:S1541. What I would like to see is the max value of all issues identified due to this rule. This will provide a way to monitor and keep under control.
I would like to see this feature added to Sonar Enterprise Cloud version.

The dashboard builder doesn’t currently expose a max-per-rule issue metric, so this seems like a reasonable feature request. As an interim check, you could query the issues API filtered to cpp:S1541, paginate through the results, and compute the maximum in a small script. If the complexity value is present in the issue payload, you can chart that externally; if not, deriving it from the rule message or source would be less robust. Publishing it back as a custom measure may depend on your edition.