spring-boot-migrator
spring-boot-migrator copied to clipboard
3.0.0-M3 Actuator Metrics Export Properties
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 ismanagement.<product>.metrics.export(Example: the prometheus properties moved frommanagement.metrics.export.prometheustomanagement.prometheus.metrics.export). If you are using thespring-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