Package zipkin2.v1
Class V1Span
java.lang.Object
zipkin2.v1.V1Span
Deprecated.
V1 spans are different from v2 especially as annotations repeat. Support is available to help
migrate old code or allow for parsing older data formats.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Same asSpan.annotations()
, except each may be associated withSpan.localEndpoint()
Deprecated.Span.tags()
are allocated to binary annotations with aV1BinaryAnnotation.stringValue()
.debug()
Deprecated.Same asSpan.debug()
long
duration()
Deprecated.Same asSpan.durationAsLong()
boolean
Deprecated.int
hashCode()
Deprecated.long
id()
Deprecated.Same asSpan.id()
except packed into a long.name()
Deprecated.Same asSpan.name()
static V1Span.Builder
Deprecated.long
parentId()
Deprecated.The parent'sid()
or zero if this the root span in a trace.long
Deprecated.Same asSpan.timestampAsLong()
long
traceId()
Deprecated.lower 64-bits of theSpan.traceId()
long
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()
-
newBuilder
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
Span
.