MicroProfile Metrics in Helidon 1.3 by Santiago Pericas-Geertsen

image

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.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.