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 class
V1Span.Builder
Deprecated. -
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()
.Boolean
debug()
Deprecated.Same asSpan.debug()
long
duration()
Deprecated.Same asSpan.durationAsLong()
boolean
equals(Object o)
Deprecated.int
hashCode()
Deprecated.long
id()
Deprecated.Same asSpan.id()
except packed into a long.String
name()
Deprecated.Same asSpan.name()
static V1Span.Builder
newBuilder()
Deprecated.long
parentId()
Deprecated.The parent'sid()
or zero if this the root span in a trace.Set<String>
serviceNames()
Deprecated.Returns the distinctservice names
that logged to this span.long
timestamp()
Deprecated.Same asSpan.timestampAsLong()
long
traceId()
Deprecated.lower 64-bits of theSpan.traceId()
long
traceIdHigh()
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 names
that logged to this span. -
newBuilder
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-