Package zipkin2.v1
Class V2SpanConverter
java.lang.Object
zipkin2.v1.V2SpanConverter
public final class V2SpanConverter extends Object
Allows you convert a v2 span into a v1 span. This is helpful for legacy storage which still use
annotations. This shouldn't be used by new code.
This type isn't thread-safe: it re-uses state to avoid re-allocations in conversion loops.
-
Method Summary
Modifier and Type Method Description V1Span
convert(Span value)
static V2SpanConverter
create()