helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.52k stars 564 forks source link

4.1.x tracking issue - MP Metrics backward-incompatible change #9264

Closed tjquinno closed 3 weeks ago

tjquinno commented 2 months ago

Environment Details


Problem Description

Tracking issue for MP Metrics https://github.com/eclipse/microprofile-metrics/issues/796

tjquinno commented 1 month ago

Based on the tenor of the comments on the MP metrics issue, a new 5.1.2 release of MP Metrics to address this seems unlikely.

I have advised the user whose library extends the changed Snapshot abstract class that the fastest solution will most likely be for them to add a one-line implementation of the new method to their code to conform to the new API, rather than wait for a new MP Metrics release.

In either case, the user library would need to be rebuilt and re-released so making the change to the library seems to be the quickest path to resolving this.