-
Notifications
You must be signed in to change notification settings - Fork 783
Trace does not close properly when using ViewController #469
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
Comments
@marcingrzejszczak, you implemented |
We've been working mostly with Rest based controllers so we had such a flow
I see that there's some additional flow when taking into consideration view controller. The problem with In 1.1.x and 1.0.x we'll have to try to tackle this differently. Coming back to your question... The |
In my case flow next:
Thus I think to keep span for controlelr method call either |
Or second choice is in I think create span for controller method is fine, it visualizes the flow and you can measure the time between filters run and controller run. |
You'll still be able to do it if you want to. In your controller you can create a span and close it as you wish. This is related to this: #180 |
Agree, have abillity to add is always betten than have no abillity to remove :) |
I wrote to you on Gitter that I like the idea of removing the attribute upon closing (it just makes sense ;) ) but I'll give it a longer thought tomorrow cause it's almost 00:00 here ;) |
without this change an explicit new span is created on the server side. Its name is equal to the method name of the controller. It introduces some nice advantages in terms of readability of trace. with this change we're continuing a previous span on the server side. We're attaching the tags and logs to that span with information about controller class and controller name. Also events related to start and finish of the controller are there. fixes #471 #469 #427
done via ee8c73d |
without this change an explicit new span is created on the server side. Its name is equal to the method name of the controller. It introduces some nice advantages in terms of readability of trace. with this change we're continuing a previous span on the server side. We're attaching the tags and logs to that span with information about controller class and controller name. Also events related to start and finish of the controller are there. fixes #471 #469 #427
without this change an explicit new span is created on the server side. Its name is equal to the method name of the controller. It introduces some nice advantages in terms of readability of trace. with this change we're continuing a previous span on the server side. We're attaching the tags and logs to that span with information about controller class and controller name. Also events related to start and finish of the controller are there. fixes #471 #469 #427
Uh oh!
There was an error while loading. Please reload this page.
I have single index.jsp inside webapp and next configuration:
application.yml
When I'm trying to access
/index
(/index.jsp
is ok) sleuth warns:Request flow:
And at the end of request
SpanContextHolder
does not empty, thus next requests (in this thread) will have this span as parent.The text was updated successfully, but these errors were encountered: