Authored by wangning

update

... ... @@ -284,17 +284,18 @@ public class TraceAnalyzeHandler implements TraceHandler, Serializable {
String ip = "";
//只有root和resttemplate才会生成ip
if(spanInfo.getTraceid().equals(spanInfo.getSpanid())){
ip = spanInfo.getIp();
}else{
if(StringUtils.isNotBlank(spanInfo.getHttpHost())){
ip = spanInfo.getHttpHost();
}
}
// if(spanInfo.getTraceid().equals(spanInfo.getSpanid())){
// ip = spanInfo.getIp();
// }else{
// if(StringUtils.isNotBlank(spanInfo.getHttpHost())){
// ip = spanInfo.getHttpHost();
// }
// }
ip = spanInfo.getIp();
if(StringUtils.isBlank(ip)){
continue;
}
// if(StringUtils.isBlank(ip)){
// continue;
// }
SpanIpResult spanIpResult = new SpanIpResult();
String spanName = spanInfo.getName();
... ...