For some reason, a few people poked me about this thread, as I have been stirring the pot re: micrometer.
Micrometer is in use by a fairly significant community, and it isn’t only about Spring Boot. While Pivotal/VMWare sponsors the project, some of the core committers do not work there. If you want download/usage statistics, I can get them for you, but I would not use relative youth against that project against it. The people that built it have deep SRE experience, and it shows.
Both micrometer and OpenTelemetry metrics have similar abstraction patterns that separate the metrics used by the application from the exporter/provider backend. I would be be happy to walk anyone through the quarkus micrometer extension I’ve written, so you can understand the value the separation between MeterRegistry, MeterFilter and MeterBinder abstractions brings. Jan, I’ve been meaning to get back to you specifically to walk through what I did. I chased it mostly as proof of concept, but I think it does a lot to explain the limitations of MP Metrics as it exists right now.
I’ll be terribly honest: Dropwizard was great several years ago when I hit Mr. Bourne over the head with it. But things have moved on quite a bit since then, and prometheus is less than happy with some of the things dropwizard likes to do. Micrometer does have an active community, with _users_ of the library contributing binders for cloud services that weren’t already there. It is going to be hard for MP Metrics, as a spec, to keep up with that.
IMO, MP Metrics should be about “how does xyz library get injected in a consistent way using MP Config and CDI”. That would allow MP to be much more nimble in terms of supporting whatever the next new fangled industry hot thing is. Whether OpenTelemetry metrics or Micrometer or the thing we haven’t heard of before, MP will be much quicker to embrace industry trends if it stays focused on how that technology should be enabled and configured using MP Config and CDI.
I could keep going and going (as both Mr. Bourne and Ms. Jiang will attest), but I’ll put the soapbox away for now. ;)