You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow up based on Gitter chat with @adriancole
I have tested new release v1.1.0 which has corrected local span processing that @fedj put together. There is still an issue in how spans end up displayed in zipkin UI.
Sample code:
var trace = m.Trace.Child();
trace.Record(Annotations.ServerRecv());
trace.Record(Annotations.ServiceName("child"));
trace.Record(Annotations.Rpc("play"));
Task.Delay(50).Wait();
var local = trace.Child();
local.Record(Annotations.LocalOperationStart("child-playing"));
Task.Delay(100).Wait();
local.Record(Annotations.LocalOperationStop());
Task.Delay(70).Wait();
However it still doesn't look right. I think it should do one of the following so the spans appear more informative.
Option 1 - Using local operation without RPC annotation
In this case either left side should state operation name and right side be empty and only contain duration. Or left side is empty and right side contains operation name.
Option 2 - Using local operation + RPC annotation
In this case left side can show RPC as it does now and right side should show local operation instead of unknown RPC.
Option 3 - Whatever else that might make sense for this local span display.
Thank you,
Alex
The text was updated successfully, but these errors were encountered:
Did you ever find the best solution for this? I can confirm I can get this to work by adding the RPC annotation but even if I then use the local operation stop/start then the timings are not detailed when you click on the span:
This is a follow up based on Gitter chat with @adriancole
I have tested new release v1.1.0 which has corrected local span processing that @fedj put together. There is still an issue in how spans end up displayed in zipkin UI.
Sample code:
Shows up as:
Server receives
If I add RPC name as
Then it will show as
Server receives:
However it still doesn't look right. I think it should do one of the following so the spans appear more informative.
Option 1 - Using local operation without RPC annotation
In this case either left side should state operation name and right side be empty and only contain duration. Or left side is empty and right side contains operation name.
Option 2 - Using local operation + RPC annotation
In this case left side can show RPC as it does now and right side should show local operation instead of unknown RPC.
Option 3 - Whatever else that might make sense for this local span display.
Thank you,
Alex
The text was updated successfully, but these errors were encountered: