Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branches support ? #3

Open
Poil opened this issue Jan 4, 2019 · 4 comments
Open

Branches support ? #3

Poil opened this issue Jan 4, 2019 · 4 comments

Comments

@Poil
Copy link

Poil commented Jan 4, 2019

Hi,

Is there branches support ?

Thanks :)

@madhawadias
Copy link

Added branch support
https://github.com/madhawadias/sonarqube-prometheus-exporter

@Poil
Copy link
Author

Poil commented Aug 19, 2019

Thanks !

But when I try to use it when querying the /api/prometheus/metrics I only have this answer :

# HELP sonarqube_vulnerabilities Vulnerabilities
# TYPE sonarqube_vulnerabilities gauge
# HELP sonarqube_code_smells Code Smells
# TYPE sonarqube_code_smells gauge
# HELP sonarqube_new_coverage Coverage of new/changed code
# TYPE sonarqube_new_coverage gauge
# HELP sonarqube_coverage Coverage by tests
# TYPE sonarqube_coverage gauge
# HELP sonarqube_bugs Bugs
# TYPE sonarqube_bugs gauge
# HELP sonarqube_sqale_index Total effort (in hours) to fix all the issues on the component and therefore to comply to all the requirements.
# TYPE sonarqube_sqale_index gauge

Am I missing something ?

Edit :

I've add some logs, I'm entering in this loop if (!this.enabledMetrics.isEmpty()) { but not projects.forEach(project -> {)

@Poil
Copy link
Author

Poil commented Aug 19, 2019

Ok I've got it 1 < 10 / 500 + 1 we never enter in this loop

@macunder
Copy link

macunder commented Aug 8, 2023

Hi all, I'm in the same situation but did not understand how to resolve it.
May you help me, please?
Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants