opentelemetry-java-instrume.../instrumentation/spring/spring-boot-autoconfigure-3
Gregor Zeitlinger 32df5ae710
extract @SpringBootInstrumentation annotation (#11293)
2024-05-08 10:12:39 +03:00
..
src extract @SpringBootInstrumentation annotation (#11293) 2024-05-08 10:12:39 +03:00
README.md
build.gradle.kts extract @SpringBootInstrumentation annotation (#11293) 2024-05-08 10:12:39 +03:00

README.md

Why do we need a separate module for Spring Boot 3 auto-configuration?

RestClientInstrumentationAutoConfiguration imports RestClientCustomizer, which is part of Spring Boot 3 (rather than Spring framework).

If we were to include this in the spring-boot-autoconfigure module, we would have to bump the Spring Boot version to 3, which would break compatibility with Spring Boot 2.