提交 89427eea 编写于 作者: A ascrutae

fix operation id of exit span incorrect issue

上级 76ceb363
......@@ -286,13 +286,13 @@ public class TracingContext implements AbstractTracerContext {
.doInCondition(
new PossibleFound.FoundAndObtain() {
@Override
public Object doProcess(int peerId) {
return new ExitSpan(spanIdGenerator++, parentSpanId, applicationId, peerId);
public Object doProcess(int operationId) {
return new ExitSpan(spanIdGenerator++, parentSpanId, operationId, applicationId);
}
}, new PossibleFound.NotFoundAndObtain() {
@Override
public Object doProcess() {
return new ExitSpan(spanIdGenerator++, parentSpanId, applicationId, remotePeer);
return new ExitSpan(spanIdGenerator++, parentSpanId, operationName, remotePeer);
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册