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

Allow customizing PrometheusProperties via PrometheusConfig #4875

Closed
jonatan-ivanov opened this issue Mar 28, 2024 · 0 comments · Fixed by #4921
Closed

Allow customizing PrometheusProperties via PrometheusConfig #4875

jonatan-ivanov opened this issue Mar 28, 2024 · 0 comments · Fixed by #4921
Labels
enhancement A general enhancement registry: prometheus A Prometheus Registry related issue
Milestone

Comments

@jonatan-ivanov
Copy link
Member

Right now we depend on the built-in configuration support of the Prometheus 1.x client through PrometheusProperties. This lets users use the default properties mechanism of the Prometheus Client but it can also be weird to users who used to the config system of Micrometer or frameworks like Spring Boot since right now neither can work, users need to go through the config system of the Prometheus Client if they want to configure certain things.

@jonatan-ivanov jonatan-ivanov added the enhancement A general enhancement label Mar 28, 2024
@jonatan-ivanov jonatan-ivanov added this to the 1.13.0-RC1 milestone Mar 28, 2024
@shakuzen shakuzen added the registry: prometheus A Prometheus Registry related issue label Mar 28, 2024
@shakuzen shakuzen changed the title Improve Prometheus 1.x config integration Allow customizing PrometheusProperties via PrometheusConfig Apr 5, 2024
shakuzen pushed a commit that referenced this issue Apr 5, 2024
Passes properties from `PrometheusConfig`'s new method `prometheusProperties` to the Prometheus client's `PrometheusPropertiesLoader` so they are used along with other methods of configuring the Prometheus client.

Resolves gh-4875
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: prometheus A Prometheus Registry related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants