We are looking to generate application metrics for our sonarqube instance like how many users, projects available, what is the analysis status, how may code passed, failed etc.
Can you please suggest what is the best possible way to do this. Please share any documentation you may have for this.
We are more inclined towards Prometheus as we can collect metrics of all Devops tools under that. Does sonar support this?
We have sonar machines from 7.9 to 8.9
Regarding your question, you should be able to pull the data via the Web API. The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.