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.
Users have asked for ability to have distribution buckets for timers for service level objective tracking.
Improvement to API
-
make @RegistryScope be a qualifier (749)