Upgrade to Spring Boot 4 and apply required compatibility changes#101
Upgrade to Spring Boot 4 and apply required compatibility changes#101obiwan87 wants to merge 1 commit into
Conversation
|
Thank you for the PR but both the build and the DCO checks are failing. |
Signed-off-by: Simone Di Stefano <simone.distefano@merkurtz.de>
There you go :) |
|
Hi! Michael told me GitHub is the way to say hello! Mission accomplished 😊 |
|
Hi everyone! In case the maintainers decide this upgrade is not currently wanted, there is a way to provide good forward support without fully committing to Spring Boot 4. Which is to make the @AutoConfigureAfter(PrometheusMetricsExportAutoConfiguration.class)With @AutoConfigureAfter(name={
"org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusMetricsExportAutoConfiguration" // Spring Boot 3
"org.springframework.boot.micrometer.metrics.autoconfigure.export.prometheus.PrometheusMetricsExportAutoConfiguration" // Spring Boot 4
})For me, a similar trick has made Best regards, |
|
My bad I added a PR (#111) and then I saw that this was already handled here. The issue between Spring Boot 3 and 4 is that you also need to ensure the tests are running and you need an additional dependency for that @jonatan-ivanov - the PR I provided passes all tests and DCO checks I just mentioned in the issue #102 that it might be good to use 1.5.x for Spring Boot 3 and 2.0.x for Spring Boot 4 |
No description provided.