Skip to content
New issue

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

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

Already on GitHub? # to your account

Changes to metrics to work with MP metrics 2.2 #1117

Merged
merged 3 commits into from
Oct 29, 2019
Merged

Changes to metrics to work with MP metrics 2.2 #1117

merged 3 commits into from
Oct 29, 2019

Conversation

tjquinno
Copy link
Member

@tjquinno tjquinno commented Oct 23, 2019

MicroProfile is working on releasing metrics 2.2. Its only change is to fix the backward-incompatible change that restricted gauges. According to their current PR this is the only change they are reverting; other compatible changes added in 2.1.0 will remain in 2.2.

This PR adapts Helidon to that change.

The initial set of changes alters the dependencies to refer to MP metrics 2.0.2. That release has the same restriction on gauges that 2.2 will but also lacks some minor (compatible!) changes from 2.1.0 which 2.2 will also have. In a future commit (once metrics 2.2 is available) I will update the dependency and fix a few temporary TODO items that work around the temporarily-missing enhancements that will return in 2.2.

Until then this PR will remain WIP and will not be merged.

Addresses #1116

@tjquinno tjquinno added this to the 1.4 milestone Oct 23, 2019
@tjquinno tjquinno self-assigned this Oct 23, 2019
@tjquinno tjquinno changed the title WIP: changes to metrics to work with MP metrics 2.2 Changes to metrics to work with MP metrics 2.2 Oct 29, 2019
Copy link
Member

@spericas spericas left a comment

Choose a reason for hiding this comment

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

LGTM

@tjquinno tjquinno merged commit 759e1bf into helidon-io:master Oct 29, 2019
@tjquinno tjquinno deleted the metrics-2.2 branch October 29, 2019 18:13
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants