grpc-spring
grpc-spring copied to clipboard
Replace metric implementation with micrometer native one
The problem
Micrometer provides a metric collection implementation. We should use that instead of reimplementing it ourselves.
The solution
Use the implementation from micrometer. https://github.com/micrometer-metrics/micrometer/pull/2323 We already have an optional dependency to that library so nothing will really change here.
Alternatives considered
Retain our own implementation. This comes at a risk that it will eventually diverge from the micrometer one.
Moved to the next milestone to give depending libraries more time to upgrade to spring boot v2.5+
would love to see that