We can revert dfa7359977eeccee58b0397f44c9c12246f69b94 once https://github.com/micrometer-metrics/micrometer/issues/5152 is fixed.