Code Coverage Metrics Integration with Datadog

  • Version 10.6 Community Edition
  • Helm chart deployment
  • Integrate code coverage metrics for services in Datadog
  • Deployment and visualization of Sonarqube server metrics working

**I’ve been working for a while now, trying to understand how to get code coverage metrics for projects within my organization into Datadog. I have successfully integrated Sonarqube with Datadog and can visualize the Sonarqube server metrics, but I can’t figure out how to get code coverage metrics for any project into Datadog. The below Datadog page mentions enabling JMX beans (which I have done by prometheusExporter.enabled = true) but from what I’ve seen in the forums, JMX beans do not produce the code coverage metrics. How do I scrape the code coverage metrics with Datadog?
**

Hi,

Welcome to the community!

Only the latest version of SonarQube Community Build is considered active, so you’ll need to update and see if the situation is still replicable before we can help you.

Your update path is:

10.6 → 24.12 → 25.9

You may find these resources helpful:

If you have questions about updating, feel free to open a new thread for that here.

For Datadog’s own integration with SonarQube, you probably want to contact them for support. But looking at their docs, to go beyond just collecting JMX metrics you need to setup component discovery and return coverage metrics like sonarqube.coverage.coverage.