Micrometer best practices

MSAL

This recipe will apply a set of best practice refactorings for Micrometer, like adopting Observations instead of Timers.

org.openrewrite.micrometer.MicrometerBestPractices
mod run . --recipe=org.openrewrite.micrometer.MicrometerBestPractices

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Migrate to Micrometer 1.13
  2. Convert Micrometer Timer to Observations