Polish (#742)
This commit is contained in:
parent
1431cad945
commit
b0d5bc16f4
|
|
@ -56,8 +56,6 @@ public class ServerInterceptor implements io.grpc.ServerInterceptor {
|
||||||
ContextSnapshot contextSnapshot = ContextManager.capture();
|
ContextSnapshot contextSnapshot = ContextManager.capture();
|
||||||
AbstractSpan asyncSpan = span.prepareForAsync();
|
AbstractSpan asyncSpan = span.prepareForAsync();
|
||||||
|
|
||||||
//Context context = Context.current().withValues(CONTEXT_SNAPSHOT_KEY, contextSnapshot, ACTIVE_SPAN_KEY, asyncSpan);
|
|
||||||
|
|
||||||
ServerCall.Listener<REQUEST> listener = Contexts.interceptCall(
|
ServerCall.Listener<REQUEST> listener = Contexts.interceptCall(
|
||||||
Context.current(),
|
Context.current(),
|
||||||
new TracingServerCall<>(call, contextSnapshot, asyncSpan),
|
new TracingServerCall<>(call, contextSnapshot, asyncSpan),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue