提交 b63f8bca 编写于 作者: C cyejing 提交者: wu-sheng

fix opentracing with tag error is failed (#3795)

上级 4c688701
......@@ -43,6 +43,8 @@ public class SpanSetTagInterceptor implements InstanceMethodsAroundInterceptor {
activeSpan.setComponent(tagValue);
} else if (Tags.PEER_SERVICE.getKey().equals(tagKey)) {
activeSpan.setOperationName(tagValue);
} else if (Tags.ERROR.getKey().equals(tagKey) && "true".equals(tagValue)) {
activeSpan.errorOccurred();
} else {
activeSpan.tag(tagKey, tagValue);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册