Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is TracingHandlerInterceptor conditional on missing TracingFilter? #120

Open
whiskeysierra opened this issue Nov 27, 2019 · 3 comments

Comments

@whiskeysierra
Copy link

Code in question:

@Bean
@ConditionalOnMissingBean(TracingFilter.class)
public WebMvcConfigurer tracingHandlerInterceptor(final Tracer tracer) {

The source code of TracingHandlerInterceptor seems to suggest that it's meant to be used in conjunction with the TracingFilter:

* 1. check if there is an active span, it has been activated in servlet filter or in this interceptor (forward)

@geoand
Copy link
Collaborator

geoand commented Nov 27, 2019

@pavolloffay do you remember? I think you added that piece of code.

@pavolloffay
Copy link
Collaborator

Based on git blame #39

@whiskeysierra
Copy link
Author

whiskeysierra commented Nov 29, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants