-
Notifications
You must be signed in to change notification settings - Fork 784
Description
Is your feature request related to a problem? Please describe.
With Spring Cloud Sleuth v2.x we were able to import TraceWebServletAutoConfiguration.TRACING_FILTER_ORDER but since 3.x there is no way to access it because the class was made non-public.
Describe the solution you'd like
That constant is actually defined in TraceHttpAutoConfiguration but for some reason it has package-private access only. It was also previously accessible through TraceWebFilter but the class is not public in v3 anymore.
Maybe TraceHttpAutoConfiguration.TRACING_FILTER_ORDER could be made public?
Describe alternatives you've considered
The alternative is to duplicate the value as it is defined in TraceHttpAutoConfiguration when registering a web filter but that's not ideal if it was to change in the future.
Additional context
We have a custom filter that we need to register ahead of the TraceWebFilter.