This commit is contained in:
Marcin Grzejszczak
2016-08-10 17:18:20 +02:00
parent 35652a43d9
commit e0fbcfe7c6
7 changed files with 41 additions and 53 deletions

View File

@@ -118,7 +118,7 @@ final class ConvertToZipkinSpanList {
BinaryAnnotation.create(Constants.LOCAL_COMPONENT, processId, ep));
}
private static void ensureServerAddr(Span span, zipkin.Span.Builder zipkinSpan,
private static void ensureServerAddr(Span span, Builder zipkinSpan,
Endpoint ep) {
String serviceName = span.tags().containsKey(Span.SPAN_PEER_SERVICE_TAG_NAME)
? span.tags().get(Span.SPAN_PEER_SERVICE_TAG_NAME) : ep.serviceName;