-
Couldn't load subscription status.
- Fork 1k
End span after closing scope #12952
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
End span after closing scope #12952
Conversation
6a6ab03 to
fa3e9b6
Compare
.../src/main/java/io/opentelemetry/instrumentation/okhttp/v3_0/internal/TracingInterceptor.java
Outdated
Show resolved
Hide resolved
| } | ||
|
|
||
| Context context = instrumenter.start(parentContext, request); | ||
| if (httpRouteSupport.hasMappings()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect that it was deliberately added after filterChain.doFilter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, reverted changes to these two files
| } | ||
|
|
||
| Context context = instrumenter.start(parentContext, request); | ||
| if (httpRouteSupport.hasMappings()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect that it was deliberately added after filterChain.doFilter.
Resolves #4596