Here you can find several examples of SonarQube Connector Badge to see how it displays the quality metrics in a Confluence page:
Apache Tomcat 9.x
Here we have set two badges to display size of the project and reliability rating:
Notepad++
Here we have set two badges to display security rating and the number of vulnerabilities found in the project: