Fix metric registry creation by ammachado · Pull Request #686 · openrewrite/rewrite-maven-plugin (original) (raw)
What's changed?
Different instances of MeterRegistry are created using MeterRegistryProvider#registry().
What's your motivation?
Use the maven plugin with rewrite.metricsUrl=LOG
Anything in particular you'd like reviewers to focus on?
Anyone you would like to review specifically?
Have you considered any alternatives or workarounds?
Any additional context
Checklist
- I've added unit tests to cover both positive and negative cases
- I've read and applied the recipe conventions and best practices
- I've used the IntelliJ IDEA auto-formatter on affected files