[NEW RELEASE] SonarQube Metrics Exporter — v3.0.0 Released + (v3.1.0 Update)

:warning: Update — v3.1.0 now available | Download links fixed

The JAR download links in the original post returned 404 due to a naming mismatch in the v3.0.0 release. This is fixed in v3.1.0 — please use the updated links below.

Download Links (v3.1.0 — current)

Artifact Target SonarQube Runtime
sonar-metrics-exporter.jar 2026.x (latest) Java 17+
sonar-metrics-exporter-sq25.10.jar 25.10 LTS Java 17+
sonar-metrics-exporter-sq10.8.jar 10.8 LTS Java 17+

Release: v3.1.0 · DomGiorda/sonar-metrics-exporter · GitHub


Hi,

I’m happy to share that v3.0.0 of the SonarQube Metrics Exporter is out!

This plugin exposes SonarQube metrics via a /api/prometheus/metrics endpoint, making it easy to scrape code quality data with Prometheus and visualize it in Grafana.

What’s new in v3.0.0:

  • Multi-version support — dedicated JARs for SonarQube 2026.x, 25.10 LTS, and 10.8 LTS
  • Severity labels on metrics (BLOCKER, CRITICAL, MAJOR…) for fine-grained PromQL filtering
  • Bundled Grafana dashboard ready to import
  • Docker Compose stack for local dev (SonarQube + Prometheus + Grafana)

:warning: SonarQube 9.x users: use v2.0.0. Java 17+ required for v3.0.0.

Compatibility Matrix

This release ships three dedicated artifacts, each compiled against a specific SonarQube API baseline:

Artifact Target SonarQube Runtime
sonar-prometheus-exporter.jar 2026.x (latest / mainstream) Java 17+
sonar-prometheus-exporter-sq25.10.jar 25.10 LTS Java 17+
sonar-prometheus-exporter-sq10.8.jar 10.8 LTS Java 17+

Links:

GitHub: DomGiorda/sonar-metrics-exporter


Release: v3.1.0 · DomGiorda/sonar-metrics-exporter · GitHub


SonarSource: SonarQube Prometheus Exporter


Feedback and PRs are always welcome!

Francisco, on the github no link to download the metrics explorer work, all are broken. The link

wget https://github.com/DomGiorda/sonar-metrics-exporter/releases/download/v3.0.0/sonar-prometheus-exporter.jar

says no file

and

https://github.com/DomGiorda/sonarqube-prometheus-exporter/releases/tag/v1.0.0-SNAPSHOT-2018-07-04

lands on a 404 error

Hi @eliassal — thank you for catching this and reporting it!

You’re absolutely right. The download URLs were broken due to a naming mismatch introduced during the v3.0.0 release: the JAR artifacts generated by the build did not match the filenames referenced in the release notes and README.

This has been fixed in v3.1.0, which is now live. The following wget commands work correctly:

# SonarQube 2026.x (latest)
wget https://github.com/DomGiorda/sonar-metrics-exporter/releases/download/v3.1.0/sonar-metrics-exporter.jar

# SonarQube 25.10 LTS
wget https://github.com/DomGiorda/sonar-metrics-exporter/releases/download/v3.1.0/sonar-metrics-exporter-sq25.10.jar

# SonarQube 10.8 LTS
wget https://github.com/DomGiorda/sonar-metrics-exporter/releases/download/v3.1.0/sonar-metrics-exporter-sq10.8.jar

v3.1.0 also includes:

  • Standardized artifact naming across pom.xml, sonar-project.properties, README.md, and RELEASE_NOTES.md
  • GitHub Actions CI/CD pipeline that builds, tests, and publishes artifacts automatically on each release (so this won’t happen again)
  • Up to 90% branch coverage via a new JUnit 5 + Mockito test suite
  • Code quality improvements — Quality Gate: passed :white_check_mark:

Sorry for the inconvenience, and thanks again for the report!

Thanks yes it is working now

Francisco, I have created, since 2 days, an issue related to /resources/prometheus/prometheus.yml (Grafana Dashboard) but nobody is responding.

It seems that this file has an outdated fields so the dashboard does not work correctly.

Is /resources/prometheus/prometheus.yml is valid · Issue #13 · DomGiorda/sonar-metrics-exporter

Hi,

Thank you so much for your patience, and I really appreciate you taking the time to share those details and screenshots!

I’ve just resolved the issue with the Grafana dashboard queries, variable templating, and legend formatting. The updated dashboard template (resources/grafana_dashboard.json) is now available in the repository.

You can check out the full fix details and download the updated dashboard template directly on Issue #13:

Thanks again for using the plugin and for helping improve the project! Please feel free to reach out on GitHub if you run into anything else.

Best regards,

Francisco