Package zipkin2.v1
Class V1Span
java.lang.Object
zipkin2.v1.V1Span
@Deprecated public final class V1Span extends 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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classV1Span.BuilderDeprecated. -
Method Summary
Modifier and Type Method Description List<V1Annotation>annotations()Deprecated.Same asSpan.annotations(), except each may be associated withSpan.localEndpoint()List<V1BinaryAnnotation>binaryAnnotations()Deprecated.Span.tags()are allocated to binary annotations with aV1BinaryAnnotation.stringValue().Booleandebug()Deprecated.Same asSpan.debug()longduration()Deprecated.Same asSpan.durationAsLong()booleanequals(Object o)Deprecated.inthashCode()Deprecated.longid()Deprecated.Same asSpan.id()except packed into a long.Stringname()Deprecated.Same asSpan.name()static V1Span.BuildernewBuilder()Deprecated.longparentId()Deprecated.The parent'sid()or zero if this the root span in a trace.Set<String>serviceNames()Deprecated.Returns the distinctservice namesthat logged to this span.longtimestamp()Deprecated.Same asSpan.timestampAsLong()longtraceId()Deprecated.lower 64-bits of theSpan.traceId()longtraceIdHigh()Deprecated.When non-zero, the trace containing this span uses 128-bit trace identifiers.
-
Method Details
-
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 theSpan.traceId() -
id
public long id()Deprecated.Same asSpan.id()except packed into a long. Zero means root span. -
name
Deprecated.Same asSpan.name() -
parentId
public long parentId()Deprecated.The parent'sid()or zero if this the root span in a trace. -
timestamp
public long timestamp()Deprecated.Same asSpan.timestampAsLong() -
duration
public long duration()Deprecated.Same asSpan.durationAsLong() -
annotations
Deprecated.Same asSpan.annotations(), except each may be associated withSpan.localEndpoint() -
binaryAnnotations
Deprecated.Span.tags()are allocated to binary annotations with aV1BinaryAnnotation.stringValue().Span.remoteEndpoint()to those without. -
debug
Deprecated.Same asSpan.debug() -
serviceNames
Deprecated.Returns the distinctservice namesthat logged to this span. -
newBuilder
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-