spring-boot-migrator icon indicating copy to clipboard operation
spring-boot-migrator copied to clipboard

3.0.0-M3 Actuator Metrics Export Properties

Open fabapp2 opened this issue 3 years ago • 0 comments

From the Release Notes:

We have moved the properties controlling the actuator metrics export. The old schema was management.metrics.export.<product>, the new one is management.<product>.metrics.export (Example: the prometheus properties moved from management.metrics.export.prometheus to management.prometheus.metrics.export). If you are using the spring-boot-properties-migrator, you will get notified at startup. See #30381 for details.

What needs to be done

  • [ ] Find properties using the old schema
  • [ ] Change the format following the new schema
  • [ ] Overwrite the old property with the new

This should be done as (integrated) declarative plain OpenRewrite recipe

See: https://github.com/spring-projects-experimental/spring-boot-migrator/blob/f219382c2b3e4ddffe8efed7b6c0ebe2e96f363c/components/sbm-recipes-boot-upgrade/src/main/resources/recipes/boot-2.7-3.0-dependency-version-update.yaml#L82-L95

fabapp2 avatar Jul 15 '22 23:07 fabapp2