Skip to content

Micrometer Prometheus client v1.0 breaking changes #2340

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brunobat
Copy link
Contributor

@brunobat brunobat commented Jun 18, 2025

TODO:

  • I still need to come up with better examples for the changes.
  • Release nr. for the new extension.

Copy link

github-actions bot commented Jun 18, 2025

🎊 PR Preview 020309c has been successfully built and deployed to https://quarkus-site-pr-2340-preview.surge.sh

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

@gastaldi gastaldi requested a review from Copilot June 18, 2025 17:26
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new documentation post detailing the migration paths and breaking changes resulting from the switch to Prometheus client v1 in the Micrometer registry.

  • Introduces a new post explaining upgrade options and dependency changes
  • Details specific changes to metrics naming and API usage

@brunobat brunobat marked this pull request as draft June 20, 2025 07:43
@brunobat
Copy link
Contributor Author

There is a plan change:

  1. Keep current extension as is until Quarkus 4.0 (whenever that happens)
  2. Create a new extension called quarkus-micrometer-registry-prometheus-v1 now
  3. Delete current quarkus-micrometer-registry-prometheuson Quarkus 4.0. Provide alternative on Quarkiverse.
  4. Refactor: Stramline the main extension (quarkus-micrometer) and quarkus-micrometer-registry-prometheus-v1 to remove outdated code on Quarkus 4.0.
  5. On the next LTS it would be good to mark for deprecation the old registry and support the new one.

Will re-write the blog to reflect that.

@brunobat
Copy link
Contributor Author

brunobat commented Jun 20, 2025

Re-wrote the post according to the new plan and zulip coments.
I still need to come up with better examples for the changes.
Will finish when I know when we will release the new extension.

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.

2 participants