Package zipkin2.v1
Class V1SpanConverter
- java.lang.Object
-
- zipkin2.v1.V1SpanConverter
-
public final class V1SpanConverter extends Object
Allows you to split a v1 span when necessary. This can be the case when reading merged client+server spans from storage or parsing old data formats.This type isn't thread-safe: it re-uses state to avoid re-allocations in conversion loops.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Span>
convert(V1Span source)
void
convert(V1Span source, Collection<Span> sink)
static V1SpanConverter
create()
-
-
-
Method Detail
-
create
public static V1SpanConverter create()
-
convert
public void convert(V1Span source, Collection<Span> sink)
-
-