mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 09:09:01 +00:00
Prior to this commit, the http trace auto-configuration provided an `InMemoryHttpTraceRepository` bean. This commit changes the auto-config so that an `HttpTraceRepository` is not provided and instead the auto-config is conditional on the presence of a `HttpTraceRepository` bean. This is done to encourage the use of a custom implementation of `HttpTraceRepository` since the in-memory one is quite limited and not suitable for production. A flag is available if the auto-configuration needs to be turned off even in the presence of a bean. Closes gh-15039