Package zipkin2.v1

Class V2SpanConverter


  • public final class V2SpanConverter
    extends java.lang.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.