Closed abhsinh2 closed 6 years ago
@abhsinh2 maybe you can use ServletContextListener
to register the filter there
@abhsinh2 I will close the issue. If you have more questions feel free to re-open/comment.
The mvc configuration can be found in opentracing-spring-web-itest/mvc
module
I have not spring mvc application NOT spring boot. In readme, example to extend WebMvcConfigurerAdapter shows use of FilterRegistrationBean which is spring boot class. What should I use for non spring boot application?
is below code fix the problem? @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new TracingHandlerInterceptor(tracer)).addPathPatterns("/*"); }