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

Use default metric registry in Prometheus exporter #1765

Merged
merged 7 commits into from
Nov 3, 2018

Conversation

merlimat
Copy link
Contributor

Motivation

Currently the Prometheus exporter is using a private metrics register. This doesn't work well for BK client where we want to expose in the same registry of application, or when we want to interact with other tools that use the default static registry (eg: log4j, jetty integrations for prometheus).

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I share the same problem. I solved in another way but with the integrations you are talking about I guess there is no other choice

+1

@merlimat
Copy link
Contributor Author

merlimat commented Nov 1, 2018

run java9 tests

@merlimat
Copy link
Contributor Author

merlimat commented Nov 1, 2018

rebuild java9

1 similar comment
@sijie
Copy link
Member

sijie commented Nov 1, 2018

rebuild java9

@sijie
Copy link
Member

sijie commented Nov 3, 2018

run integration tests

1 similar comment
@merlimat
Copy link
Contributor Author

merlimat commented Nov 3, 2018

run integration tests

@sijie sijie merged commit 1087471 into apache:master Nov 3, 2018
@eolivelli
Copy link
Contributor

@sijie. Do you want this on branch 4.8?

sijie pushed a commit that referenced this pull request Nov 3, 2018
### Motivation

Currently the Prometheus exporter is using a private metrics register. This doesn't work well for BK client where we want to expose in the same registry of application, or when we want to interact with other tools that use the default static registry (eg: log4j, jetty integrations for prometheus).


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org>

This closes #1765 from merlimat/prometheus
sijie pushed a commit that referenced this pull request Nov 3, 2018
### Motivation

Currently the Prometheus exporter is using a private metrics register. This doesn't work well for BK client where we want to expose in the same registry of application, or when we want to interact with other tools that use the default static registry (eg: log4j, jetty integrations for prometheus).


Reviewers: Enrico Olivelli <eolivelli@gmail.com>, Sijie Guo <sijie@apache.org>

This closes #1765 from merlimat/prometheus
@sijie
Copy link
Member

sijie commented Nov 3, 2018

@eolivelli yes. I was in the process of merging it. :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants