Helidon 1.3 is out and the big news here is support for MicroProfile 3.0. This new version of MP includes a newer version of the Metrics API. Fortunately or unfortunately, depending on your perspective, this new Metrics 2.0 API is not backwards compatible with earlier versions.
Here is a summary of some of the non-compatible changes introduced:
· Counters are now always monotonic
· A new metric, concurrent gauges, exist to provide similar semantics to the old counters
· Metadata is now an interface and a newMetadataBuilder class is provided
· MetricID is the way to identify a metric and can be decorated with tags which are no longer part of Metadata
It follows that if your application uses any of the features listed above, and you update it to use the latest metrics library, it will mostly likely break. Despite many of these changes being “sound”, they do introduce problems when it comes to upgrading your services. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.