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

Add support for configurable metrics output format and fixes #255 #256

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

refflinghaus
Copy link
Contributor

Change from io.prometheus:client_java to io.prometheus:prometheus-metrics-core to fix #255

Introduced a new METRICS_WRITE_FORMAT property to allow switching between OpenMetrics and Prometheus formats for metric exposition. Updated relevant logic, dependencies, and documentation to support this functionality. Default remains openmetrics.

Prometheus versions older than 3 lack support for the OpenMetrics format.

…ng#255

Change from io.prometheus:client_java to io.prometheus:prometheus-metrics-core

Introduced a new `METRICS_WRITE_FORMAT` property to allow switching between OpenMetrics and Prometheus formats for metric exposition. Updated relevant logic, dependencies, and documentation to support this functionality. Default remains `openmetrics`.
@jeremylong jeremylong merged commit 98079ea into jeremylong:main Jan 25, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Could not find artifact io.prometheus:client_java:jar:1.3.5
2 participants