Skip to content

TracingHandlerInterceptor order cannot be changed and even overridden #131

@kohegen

Description

@kohegen

TracingHandlerInterceptor is created in that way there is no possibility of changing order of that interceptor like it's done for TracingFilter. (both beans are configured in ServerTracingAutoConfiguration)

IMO it should be registered using InterceptorRegistration in similar way to TracingFilter.
Also those configuration should be separated because if I want to register just filter then interceptor will be registered automatically. In my case for example I would want to be able to register TracingHandlerInterceptor by myself to change order, but I can't do that because if I turn opentracing.spring.web.enabled off then also TracingFilter wont be registered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions