Skip to main content

MicroProfile Metrics 5.1

MicroProfile Metrics aims to provide a set of Java interfaces and programming models which allow Java developers to add metrics instrumentation to their applications. MicroProfile Metrics also aims to provide convenient ways for operations teams to gather metrics data from compatible implementations.

The goal of this release is to add configurability to the existing metrics types to give more flexibility to operations teams using MicroProfile Metrics in different situations.

Functional changes

There is currently no standard way to enable/disable specific metrics.

  • make it easy to enable/disable specific metrics through config (686)

There is currently no way to get a lightweight timer (all timers currently have quantiles in their Prometheus output, which requires data and processing at runtime). Adding ability to enable/disable quantiles is something we wanted for MicroProfile Metrics 5.0, but didn’t have time to include.

  • add ability to enable/disable quantiles for Timers/Histograms (673)

  • add ability to set quantile values for Timers/Histograms (675)

Users have asked for ability to have distribution buckets for timers for service level objective tracking.

  • add ability to enable/disable distribution buckets for Timers/Histograms (587)(674)(691)

  • add ability to set distribution bucket ranges for Timers/Histograms (676)

Improvement to API

  • make @RegistryScope be a qualifier (749)

Maven coordinates

<dependency>
   <groupId>org.eclipse.microprofile.metrics</groupId>
   <artifactId>microprofile-metrics-api</artifactId>
   <version>5.1.1</version>
</dependency>

Compatible Implementations

Open Liberty

Product
Java version
Open Liberty 23.0.0.10-beta
Java 11, Java 17
Open Liberty 23.0.0.12
Java 11, Java 17

WebSphere

Product
Java version
IBM WebSphere Liberty 23.0.0.12
Java 11, Java 17

Ballots

Plan Review

The Specification Committee Ballot concluded successfully on 2023-04-20 with the following results.

Representative Representative for: Vote
Summers Pittman, Vincent Mayers Atlanta JUG
Emily Jiang, Nathan Rauh IBM +1
John Clingan, Roberto Cortez Red Hat -1
David Blevins, Amelia Eiras Tomitribe +1
Chandra Guntur, Michael Redlich Garden State Java User Group +1
Ed Bratt, Dmitry Kornilov Oracle +1
Jan Westerkamp, Heiko Rupp iJUG
Kenji Kazumura, Takahiro Nagao Fujitsu +1
Reza Rahman, Ed Burns Microsoft +1
Mingyue Huang Primeton +1
Alfonso Altamirano, Luis Neto Payara +1
Total 8
Non-binding votes Role Vote
Jonathan Gallimore +1
Total 1

Release Review

The Specification Committee Ballot concluded successfully on 2023-10-09 with the following results.

Representative Representative for: Vote
Vincent Mayers Atlanta JUG +1
Emily Jiang, Nathan Rauh IBM +1
John Clingan, Roberto Cortez Red Hat -1
David Blevins, Amelia Eiras Tomitribe +1
Chandra Guntur, Michael Redlich Garden State Java User Group +1
Ed Bratt, Dmitry Kornilov Oracle +1
Jan Westerkamp, Heiko Rupp iJUG +1
Kenji Kazumura, Takahiro Nagao Fujitsu +1
Reza Rahman, Ed Burns Microsoft +1
Mingyue Huang Primeton +1
Alfonso Altamirano, Luis Neto Payara +1
Feng Wang Asiainfo Anhui +1
Total 11
Non-binding votes Role Vote
Emerson Castaneda Community +1
Total 1

Help optimize Enterprise Java for a microservices architecture.

Join the MicroProfile Google Group, peruse recent topics or create your own, and join in on the conversation. It's that easy!

JOIN THE DISCUSSION