Fault Tolerance 5.5
Today, we announce the release of SmallRye Fault Tolerance 5.5.0. This release includes one new feature: support for Micrometer. It is a safe upgrade for everyone using SmallRye Fault Tolerance 5.4.x, but note that transitive dependencies have changed a little. See below for more information.
Micrometer
SmallRye Fault Tolerance has always supported MicroProfile Metrics. In this version, we add support for Micrometer.
The set of metrics emitted to Micrometer is the same as the set of metrics emitted to MicroProfile Metrics, using the same metric names and tags. Metric types are also mapped as closely as possible. More information about that can be found in the documentation.
Support for Micrometer is added mainly for Quarkus, which strives to replace MicroProfile Metrics with Micrometer. Note that Quarkus does its own integration of SmallRye Fault Tolerance. The CDI Portable Extension present in SmallRye Fault Tolerance, which other integrators use, still assumes usage of MicroProfile Metrics, and does the integration accordingly. That is, if you integrate SmallRye Fault Tolerance and are fine with using MicroProfile Metrics, you don’t have to do anything (except managing dependencies correctly, see below).
More information about metrics integration is available in the documentation.
Transitive dependencies
Note that in previous versions, depending on SmallRye Fault Tolerance brought in the MicroProfile Metrics API artifact, org.eclipse.microprofile.metrics:microprofile-metrics-api
, transitively.
With the addition of Micrometer support, this is no longer true.
Depending on SmallRye Fault Tolerance 5.5 no longer brings in any metrics dependency.
Dependency management has always been a responsibility of integrators. They now have to make sure the correct metrics API dependency is present, which should typically be rather straightforward.