Skip to content

Commit

Permalink
[#10331] add default destination agent Id
Browse files Browse the repository at this point in the history
  • Loading branch information
donghun-cho committed Sep 13, 2023
1 parent 122309b commit 8ee23f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ private void addNode(SpanBo span, MultiValueMap<Long, SpanBo> transactionSpanMap
logger.trace("spanEvent src:{} {} -> dest:{} {}", srcApplication, span.getAgentId(), destApplication, spanEvent.getEndPoint());
}
// endPoint may be null
final String destinationAgentId = StringUtils.defaultString(spanEvent.getEndPoint());
final String destinationAgentId = StringUtils.defaultString(spanEvent.getEndPoint(), destApplication.getName());
sourceLinkDataMap.addLinkData(srcApplication, span.getAgentId(), destApplication, destinationAgentId, spanEventTimeStamp, slotTime, 1);
}

Expand Down

0 comments on commit 8ee23f1

Please sign in to comment.