public interface WingtipsToZipkinSpanConverter
Span to a Span.| Modifier and Type | Method and Description |
|---|---|
zipkin.Span |
convertWingtipsSpanToZipkinSpan(com.nike.wingtips.Span wingtipsSpan,
zipkin.Endpoint zipkinEndpoint,
java.lang.String localComponentNamespace) |
zipkin.Span convertWingtipsSpanToZipkinSpan(com.nike.wingtips.Span wingtipsSpan,
zipkin.Endpoint zipkinEndpoint,
java.lang.String localComponentNamespace)
wingtipsSpan - The Wingtips span to convert.zipkinEndpoint - The Zipkin Endpoint associated with the current service. This is often a singleton that gets reused
throughout the life of the service. Used when creating Zipkin client/server/local annotations.localComponentNamespace - The Constants.LOCAL_COMPONENT namespace that should be used when creating certain Zipkin
annotations when the Wingtips span's Span.getSpanPurpose() is
Span.SpanPurpose.LOCAL_ONLY. See the Constants.LOCAL_COMPONENT
javadocs for more information on what this is and how it's used by the Zipkin server, so you know
what value you should send.Span after it has been converted to a Span.