Closed as not planned
Closed as not planned
Description
Hi,
Migrating from Spring Cloud Sleuth to Spring Boot 3 there used to be a property to override the TraceFilter:
spring:
sleuth:
web:
filter-order: -111
which is quite important for us as we have some filters which we need to run before any observation. I have noticed in Spring Boot 3 the order is hardcoded:
public class WebFluxObservationAutoConfiguration {
...
@Bean
@ConditionalOnMissingBean
@Order(Ordered.HIGHEST_PRECEDENCE + 1)
public ServerHttpObservationFilter webfluxObservationFilter(ObservationRegistry registry,
}
Is it possible to override ServerHttpObservationFilter
order (specifically the reactive version)?
Thanks