Package zipkin2.v1

Class V1Span


  • @Deprecated
    public final class V1Span
    extends java.lang.Object
    Deprecated.
    new code should use Span.
    V1 spans are different than v2 especially as annotations repeat. Support is available to help migrate old code or allow for parsing older data formats.
    • Method Detail

      • traceIdHigh

        public long traceIdHigh()
        Deprecated.
        When non-zero, the trace containing this span uses 128-bit trace identifiers.
      • traceId

        public long traceId()
        Deprecated.
        lower 64-bits of the Span.traceId()
      • id

        public long id()
        Deprecated.
        Same as Span.id() except packed into a long. Zero means root span.
      • name

        public java.lang.String name()
        Deprecated.
        Same as Span.name()
      • parentId

        public long parentId()
        Deprecated.
        The parent's id() or zero if this the root span in a trace.
      • debug

        public java.lang.Boolean debug()
        Deprecated.
        Same as Span.debug()
      • serviceNames

        public java.util.Set<java.lang.String> serviceNames()
        Deprecated.
        Returns the distinct service names that logged to this span.
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object